crabmeat 1.0
Loading...
Searching...
No Matches
kstats.h
1
11
12#ifndef CBM_STATISTICS_KERNEL_H_
13#define CBM_STATISTICS_KERNEL_H_
14
15#include "crabmeat-common.h"
16#include "stats/cbm_stats.h"
17
18namespace cbm
19{
20 struct CBM_API proctime_summary_t
21 {
22 lid_t kmin, kmax;
23 double min, avg, max, total; /* [s] */
24
25 int nb;
26 };
27 struct CBM_API cputime_summary_t : proctime_summary_t
28 { };
29 struct CBM_API walltime_summary_t : proctime_summary_t
30 { };
31
32 struct CBM_API memory_summary_t
33 {
34 double prog_sz; /*[KB]*/
35 double lib_sz; /*[KB]*/
36 double data_sz; /*[KB]*/
37
38 long int nb_mallocs;
39 long int nb_bytes;
40 };
41
42} /*namespace cbm*/
43
44#include <vector>
45namespace cbm
46{
47 struct kernel_stats_t
48 {
49 cbm::string_t modelname;
50 int rank;
51 int id;
52
53 double cpumin, cpuavg, cpumax, cputotal;
54 };
55 typedef std::vector<kernel_stats_t> kernels_stats_t;
56} /*namespace cbm*/
57
58#endif /* CBM_STATISTICS_KERNEL_H_ */
59
The "Service Registry" holds information about available services (e.g., models, readers,...
Definition Lresources.h:51