Page MenuHomePhabricator

save time in event offsets
Closed, ResolvedPublic

Description

struct _Event_Offsets
{
 char *name;
 int thread_slot;
 unsigned int grid_slot;
 unsigned long long obj;
 long offset_start;
 long offset_finish;
};

Add field double time_start, time_finish;
Give ability to process event outside interval without fseek.
Binary search by time instead offsets give better result.

Deepwarrior updated the task description. (Show Details)
Deepwarrior updated the task description. (Show Details)Sep 21 2017, 9:24 AM

In this case fseek can be moved to idler.

Offsets aren`t required in case of cpuuse and cpufreq events if they would be replaced with values.

Deepwarrior claimed this task.
NikaWhite closed this task as Resolved.Dec 26 2017, 8:52 AM