I would like a function that would provide me the timestamp vTune uses in its timeline, so that any program trace/output can be tagged with this timestamp for a more comprehensive analysis (e.g.., I would like to know how many tasks a worker thread still have at a particular timestamp in the vtune timeline view)..
This function does not appear to be available in the current vtuneapi dll. Is it something that can be added, or can you show me now to get the equivalent value for the CPU ticks (preferred over OS ticks since more accurate) in .NET code? I have looked other .NET forums on accurate timestamp function but there doesn't seem to have any correlation with vTune:
1) DateTime.Now is inaccurate (15 ms update cycle)
2) StopWatch will drift