0
0
mirror of https://github.com/yse/easy_profiler.git synced 2024-12-28 01:04:41 +08:00

refactoring: proper types

This commit is contained in:
Victor Zarubkin 2016-06-25 17:17:44 +03:00
parent 0e26850408
commit dba149c1e6

View File

@ -251,10 +251,10 @@ namespace profiler
BaseBlockData(color_t _color, block_type_t _type);
inline unsigned char getType() const { return type; }
inline block_type_t getType() const { return type; }
inline color_t getColor() const { return color; }
inline timestamp_t getBegin() const { return begin; }
inline size_t getThreadId() const { return thread_id; }
inline thread_id_t getThreadId() const { return thread_id; }
inline timestamp_t getEnd() const { return end; }
inline bool isFinished() const { return end != 0; }