Critical trace updates (#6)
* critical trace updates - better handling of OMNITRACE_USE_PERFETTO in omnitrace-critical-trace exe - changed some data types in `critical_trace::entry` - added device ids to critical trace entries - added process ids to critical trace entries - added packing to critical trace entries * Update timemory submodule
此提交包含在:
1 父節點
5b2c27cccd
當前提交
353e8eeb69
11 file changed
+256
-124
No files matched your search
@@ -139,7 +139,7 @@ pthread_mutex_gotcha::operator()(const gotcha_data_t& _data,
|
||||
|
||||
uint64_t _cid = 0;
|
||||
uint64_t _parent_cid = 0;
|
||||
uint16_t _depth = 0;
|
||||
uint32_t _depth = 0;
|
||||
int64_t _ts = 0;
|
||||
|
||||
OMNITRACE_SCOPED_THREAD_STATE(ThreadState::Internal);
|
||||
@@ -157,7 +157,7 @@ pthread_mutex_gotcha::operator()(const gotcha_data_t& _data,
|
||||
if(get_use_critical_trace())
|
||||
{
|
||||
add_critical_trace<Device::CPU, Phase::DELTA>(
|
||||
threading::get_id(), _cid, 0, _parent_cid, _ts, comp::wall_clock::record(),
|
||||
threading::get_id(), _cid, 0, _parent_cid, _ts, comp::wall_clock::record(), 0,
|
||||
reinterpret_cast<uintptr_t>(_mutex), get_hashes().at(_data.index), _depth);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
封鎖使用者