News for hackers. Stuff that matters.
Re:A 40-line fix eliminated a 400x performance gap by electricshampo1 on Wednesday January 14, 2026 @03:18AM (#46613608)
noob question: "add the delta since the last context switch" how do you get the time of the last context switch? is that also some other perf event?

a quick googling shows a sched:sched_switch tracepoint; maybe it is possible to filter that for this thread when you set up the perf events

There are no comments on this comment yet.