Painless
A framework to ease parallelization of sequential CDCL SAT solvers
Loading...
Searching...
No Matches
SharingStatistics.hpp
1#pragma once
2
3#include <atomic>
4/* TODO; better management of statistics for sharing strategies */
5
10{
12 unsigned long sharedClauses{0};
13
15 std::atomic<unsigned long> receivedClauses{0};
16
18 std::atomic<unsigned long> filteredAtImport{0};
19};
20
23{
25 unsigned long sharedDuplicasAvoided{0};
26
28 unsigned long receivedDuplicas{0};
29
31 unsigned long messagesSent{0};
32};
Statistics of a global sharing strategy.
Definition SharingStatistics.hpp:23
unsigned long messagesSent
Number of sent messages.
Definition SharingStatistics.hpp:31
unsigned long receivedDuplicas
dpublicates detected by bloom filter for received database
Definition SharingStatistics.hpp:28
unsigned long sharedDuplicasAvoided
duplicates detected by bloom filter for toSend database
Definition SharingStatistics.hpp:25
Local Sharing statistics.Sharing statistics.
Definition SharingStatistics.hpp:10
unsigned long sharedClauses
Number of shared clauses that have been shared.
Definition SharingStatistics.hpp:12
std::atomic< unsigned long > receivedClauses
Number of shared clauses produced.
Definition SharingStatistics.hpp:15
std::atomic< unsigned long > filteredAtImport
Number of clause filtered at import.
Definition SharingStatistics.hpp:18