Skip to content

Add option to specify timestamp type #189

@pierricgimmig

Description

@pierricgimmig

By default, krabsetw produces events that have their timestamps converted into system time. Specifying PROCESS_TRACE_MODE_RAW_TIMESTAMP as ProcessTraceMode in the EVENT_TRACE_LOGFILE would leave timestamps in the same raw format used by QueryPerformanceCounter(). This is desirable as there is less overhead per timestamp but would also be particularly useful to correlate krabsetw events to other profiling events timestamped with the QueryPerformanceCounter() API. Adding an option to select the timestamp type would be great.

See https://docs.microsoft.com/en-us/windows/win32/api/evntrace/ns-evntrace-event_trace_logfilea for more details.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions