I am doing some parallel operations during app launch, I tried adding trace points with Timeline class.
And I compared it by adding timestamp logs.
The time doesn't match as I read timeline uses stack (LIFO).
Let's say I have 20 operations which will start somewhat in parallel.
Since they are not sequential any of them could end in any order and I need to add a stop trace for it.
My requirement is to capture their start and end time in timeline graph.
I didn't find any mechanism to call finish with task id, hence it is removing the last added task.
I tried to check 'TimelineTask' but didn't find any good examples and not sure if it will serve my purpose.
I am blocked as I need to generate a flame chart for app launch processes.
I am doing some parallel operations during app launch, I tried adding trace points with Timeline class.
And I compared it by adding timestamp logs.
The time doesn't match as I read timeline uses stack (LIFO).
Let's say I have 20 operations which will start somewhat in parallel.
Since they are not sequential any of them could end in any order and I need to add a stop trace for it.
My requirement is to capture their start and end time in timeline graph.
I didn't find any mechanism to call finish with task id, hence it is removing the last added task.
I tried to check 'TimelineTask' but didn't find any good examples and not sure if it will serve my purpose.
I am blocked as I need to generate a flame chart for app launch processes.