mirror of
https://github.com/mmueller41/mxtasking.git
synced 2026-01-21 12:42:57 +01:00
Merge branch 'tasking-profiler' of https://github.com/mmueller41/mxtasking into tasking-profiler
This commit is contained in:
@@ -201,10 +201,8 @@ void TaskingProfiler::saveProfile()
|
|||||||
for(std::uint16_t cpu_id = 0; cpu_id < total_cores; cpu_id++)
|
for(std::uint16_t cpu_id = 0; cpu_id < total_cores; cpu_id++)
|
||||||
{
|
{
|
||||||
//Metadata Events for each core (CPU instead of process as name,...)
|
//Metadata Events for each core (CPU instead of process as name,...)
|
||||||
Genode::log("{\"name\":\"process_name\",\"ph\":\"M\",\"pid\":", cpu_id, ",\"tid\":", cpu_id, ",\"args\":{\"name\":\"CPU\"}},");
|
Genode::log("{\"name\":\"process_name\",\"ph\":\"M\",\"pid\":", cpu_id, ",\"args\":{\"name\":\"CPU\"}},");
|
||||||
Genode::log("{\"name\":\"process_sort_index\",\"ph\":\"M\",\"pid\":", cpu_id, ",\"tid\":", cpu_id, ",\"args\":{\"name\":", cpu_id, "}},");
|
Genode::log("{\"name\":\"process_sort_index\",\"ph\":\"M\",\"pid\":", cpu_id, ",\"tid\":", cpu_id, ",\"args\":{\"name\":", cpu_id, "}},");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if (mx::tasking::config::use_task_queue_length()){
|
if (mx::tasking::config::use_task_queue_length()){
|
||||||
taskQueueLength = 0;
|
taskQueueLength = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user