mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Add sub progress display.
This commit is contained in:
@@ -253,6 +253,7 @@ Worker::Worker( FileRead& f, EventType::Type eventMask )
|
||||
s_loadProgress.total.store( 8, std::memory_order_relaxed );
|
||||
}
|
||||
|
||||
s_loadProgress.subTotal.store( 0, std::memory_order_relaxed );
|
||||
s_loadProgress.progress.store( 0, std::memory_order_relaxed );
|
||||
f.Read( m_resolution );
|
||||
f.Read( m_timerMul );
|
||||
|
||||
@@ -49,6 +49,8 @@ struct LoadProgress
|
||||
{
|
||||
std::atomic<uint64_t> total = 0;
|
||||
std::atomic<uint64_t> progress = 0;
|
||||
std::atomic<uint64_t> subTotal = 0;
|
||||
std::atomic<uint64_t> subProgress = 0;
|
||||
};
|
||||
|
||||
class Worker
|
||||
|
||||
Reference in New Issue
Block a user