aboutsummaryrefslogtreecommitdiffstats
path: root/pseudo.h
diff options
context:
space:
mode:
Diffstat (limited to 'pseudo.h')
-rw-r--r--pseudo.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/pseudo.h b/pseudo.h
index 05813c1..81db201 100644
--- a/pseudo.h
+++ b/pseudo.h
@@ -152,4 +152,14 @@ round_up(size_t n, size_t block) {
return block * (((n + block / 4) / block) + 1);
}
+#ifdef PSEUDO_PROFILING
+typedef struct {
+ int processes;
+ long long total_ops;
+ long long messages;
+ struct timeval op_time;
+ struct timeval ipc_time;
+ struct timeval wrapper_time;
+} pseudo_profile_t;
+#endif
#include "pseudo_ports.h"