mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 04:23:51 +00:00
Merge pull request #1031 from shtanko-sv/csvexport-values
Add exporting user values into CSV
This commit is contained in:
commit
753305a797
@ -387,6 +387,12 @@ int main(int argc, char** argv)
|
|||||||
}
|
}
|
||||||
values[4] = std::to_string(timespan);
|
values[4] = std::to_string(timespan);
|
||||||
values[5] = std::to_string(tId);
|
values[5] = std::to_string(tId);
|
||||||
|
if (worker.HasZoneExtra(*zone_event)) {
|
||||||
|
const auto& text = worker.GetZoneExtra(*zone_event).text;
|
||||||
|
if (text.Active()) {
|
||||||
|
values[6] = worker.GetString(text);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
std::string row = join(values, args.separator);
|
std::string row = join(values, args.separator);
|
||||||
printf("%s\n", row.data());
|
printf("%s\n", row.data());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user