/home/runner/work/charm/charm/src/ck-ldb/MetisLB.h
Line | Count | Source (jump to first uncovered line) |
1 | | /** |
2 | | * \file MetisLB.h |
3 | | */ |
4 | | |
5 | | /** |
6 | | * \addtogroup CkLdb |
7 | | */ |
8 | | /*@{*/ |
9 | | |
10 | | #ifndef _METISLB_H_ |
11 | | #define _METISLB_H_ |
12 | | |
13 | | #include "CentralLB.h" |
14 | | #include "MetisLB.decl.h" |
15 | | |
16 | | void CreateMetisLB(); |
17 | | BaseLB* AllocateMetisLB(); |
18 | | |
19 | | class MetisLB : public CBase_MetisLB |
20 | | { |
21 | | public: |
22 | | MetisLB(const CkLBOptions&); |
23 | 0 | MetisLB(CkMigrateMessage* m) : CBase_MetisLB(m) { lbname = "MetisLB"; } |
24 | | |
25 | | private: |
26 | 183 | bool QueryBalanceNow(int step) override { return true; } |
27 | | void work(LDStats* stats) override; |
28 | | }; |
29 | | |
30 | | #endif /* _METISLB_H_ */ |
31 | | |
32 | | /*@}*/ |