evobench_tools/include/evobench_point_kind.rs
1// Do not include directly, syntax is not complete! This file is both
2// Rust and C++ compatible!
3
4// Keep in sync with `point_kind_name` in evobench.cpp! XX better solution?
5
6pub enum PointKind {
7 /// Point at process init -- XX necessary?
8 TStart,
9 /// Individual (unpaired) point
10 T,
11 /// Point at the start of a scope
12 TS,
13 /// Point at the end of a scope
14 TE,
15 /// Point at thread start
16 TThreadStart,
17 /// Point at thread exit
18 TThreadEnd,
19 /// Point at process exit (benchmark always end with this
20 /// message, except if there was an IO error). XXX
21 TEnd,
22 /// Point directly after flushing the buffer for the current thread.
23 TIO,
24}