Score:0

Tool to calculate cpu time between certain ETW events

us flag

I'm trying to measure the kernel and usermode time spent in certain blocks of C++ code.

I know about GetProcessTimes but since there's ETW i could also provide events for enter and leave of the blocks and trace those events together with the performance counters for kernel and usermode time.

What i don't know is if there's a tool which then can be used to calculate those differences, e.g. search for enter/leave pairs and calculate the delta between the related perf counters.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.