tud-zih-energy / lo2s

Linux OTF2 Sampling - A Lightweight Node-Level Performance Monitoring Tool
https://tu-dresden.de/zih/forschung/projekte/lo2s?set_language=en
GNU General Public License v3.0
45 stars 13 forks source link

LO2S::STARTING_TIME has no timezone identifier and is not easily parsible #244

Closed tilsche closed 5 months ago

tilsche commented 1 year ago

ISO 8601 all the way!

Bonus points for sub-seconds.

bmario commented 1 year ago

Also, there is realtimeTimestamp in https://perftools.pages.jsc.fz-juelich.de/cicd/otf2/tags/otf2-3.0.2/html/OTF2__GlobalDefWriter_8h.html#ac235547993aaacf2823dca56af27a578

Let Vampir deal with that mess.

tilsche commented 1 year ago

Fine point, but we also need to write this in lo2s (it was recently added).

I am using that data to get energy information from existing un-instrumented traces... So it's not for Vampir in that case. That's also why I'd prefer sub-seconds, which the realtimeTimestamp doesn't support :-(

bmario commented 5 months ago

There's no sub-second format specifier though. https://fmt.dev/latest/syntax.html#chrono-specs This is, because std::tm isn't sub-second aware.

Can we rewrite in a usable language yet?