Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartosz Taudul <wolf.pld@gmail.com>2019-08-13 01:56:57 +0300
committerBartosz Taudul <wolf.pld@gmail.com>2019-08-13 14:10:37 +0300
commit9417ad994de87e134ab5a558997e23d67cb73d0f (patch)
tree25a52172f8ae6fe2a35e66f3b2d9b9243b5bb019 /server/TracyWorker.hpp
parent1c937ad9bb9bf9d3fcb4daebc444a15ab8a36fc3 (diff)
Save/load context switch data.
Diffstat (limited to 'server/TracyWorker.hpp')
-rw-r--r--server/TracyWorker.hpp20
1 files changed, 11 insertions, 9 deletions
diff --git a/server/TracyWorker.hpp b/server/TracyWorker.hpp
index 359ae0b8..c45a51c6 100644
--- a/server/TracyWorker.hpp
+++ b/server/TracyWorker.hpp
@@ -30,14 +30,15 @@ namespace EventType
{
enum Type : uint32_t
{
- Locks = 1 << 0,
- Messages = 1 << 1,
- Plots = 1 << 2,
- Memory = 1 << 3,
- FrameImages = 1 << 4,
-
- None = 0,
- All = std::numeric_limits<uint32_t>::max()
+ Locks = 1 << 0,
+ Messages = 1 << 1,
+ Plots = 1 << 2,
+ Memory = 1 << 3,
+ FrameImages = 1 << 4,
+ ContextSwitches = 1 << 5,
+
+ None = 0,
+ All = std::numeric_limits<uint32_t>::max()
};
}
@@ -65,7 +66,8 @@ struct LoadProgress
Plots,
Memory,
CallStacks,
- FrameImages
+ FrameImages,
+ ContextSwitches
};
LoadProgress() : total( 0 ), progress( 0 ), subTotal( 0 ), subProgress( 0 ) {}