New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
timemory-plotter --table fails on tutorial output #176
Comments
{
"timemory": {
"command_line": [
"timem",
"lulesh"
],
"config": {
"use_shell": false,
"use_mpi": false,
"use_papi": false,
"use_sample": true,
"debug": false,
"verbose": 0,
"shell": "/bin/bash",
"shell_flags": "",
"sample_freq": 5.0,
"sample_delay": 0.000001
},
"timem": [
{
"wall_clock": {
"value": 14.8807459,
"repr": 14.8807459,
"laps": 75,
"unit_value": 1,
"unit_repr": "sec"
},
"user_clock": {
"value": 55.6,
"repr": 55.6,
"laps": 75,
"unit_value": 1,
"unit_repr": "sec"
},
"system_clock": {
"value": 1.78,
"repr": 1.78,
"laps": 75,
"unit_value": 1,
"unit_repr": "sec"
},
"cpu_clock": {
"value": 57.38,
"repr": 57.38,
"laps": 75,
"unit_value": 1,
"unit_repr": "sec"
},
"cpu_util": {
"value": 385.59326265216637,
"repr": 385.59326265216637,
"laps": 75,
"unit_value": 1,
"unit_repr": "%"
},
"peak_rss": {
"value": 40.988,
"repr": 40.988,
"laps": 75,
"unit_value": 1000000,
"unit_repr": "MB"
},
"page_rss": {
"value": 41.971712,
"repr": 41.971712,
"laps": 0,
"unit_value": 1000000,
"unit_repr": "MB"
},
"virtual_memory": {
"value": 300.703744,
"repr": 300.703744,
"laps": 0,
"unit_value": 1000000,
"unit_repr": "MB"
},
"num_major_page_faults": {
"value": 0,
"repr": 0,
"laps": 75,
"unit_value": 1,
"unit_repr": ""
},
"num_minor_page_faults": {
"value": 5273,
"repr": 5273,
"laps": 75,
"unit_value": 1,
"unit_repr": ""
},
"priority_context_switch": {
"value": 6833,
"repr": 6833,
"laps": 75,
"unit_value": 1,
"unit_repr": ""
},
"voluntary_context_switch": {
"value": 3568,
"repr": 3568,
"laps": 75,
"unit_value": 1,
"unit_repr": ""
},
"read_char": {
"value": {
"first": 0.024256,
"second": 0.1222502595600415
},
"repr": " 0.024256 MB, 0.122250 MB/sec rchar",
"laps": 75,
"unit_value": {
"first": 1000000.0,
"second": 1000000000000000.0
},
"unit_repr": {
"first": "MB",
"second": "MB/sec"
}
},
"read_bytes": {
"value": {
"first": 0.0,
"second": 0.0
},
"repr": " 0.000000 MB, 0.000000 MB/sec read_bytes",
"laps": 75,
"unit_value": {
"first": 1000000.0,
"second": 1000000000000000.0
},
"unit_repr": {
"first": "MB",
"second": "MB/sec"
}
},
"written_char": {
"value": {
"value0": 0.00146,
"value1": 0.0073564275758059
},
"repr": " 0.001460 MB, 0.007356 MB/sec wchar",
"laps": 75,
"unit_value": {
"value0": 1000000.0,
"value1": 1000000000000000.0
},
"unit_repr": {
"value0": "MB",
"value1": "MB/sec"
}
},
"written_bytes": {
"value": {
"value0": 0.0,
"value1": 0.0
},
"repr": " 0.000000 MB, 0.000000 MB/sec write_bytes",
"laps": 75,
"unit_value": {
"value0": 1000000.0,
"value1": 1000000000000000.0
},
"unit_repr": {
"value0": "MB",
"value1": "MB/sec"
}
}
}
]
}
} |
Offending line: timemory/timemory/plotting/table.py Line 92 in d84ccb7
Issue only exists on Linux and not macOS bc {read,written}_{bytes,char} are only available as Linux. Should use "value" instead of "repr" and should make sure it can handle multidimensional data. |
Also need to export the data labels for multidimensional data. (These are just notes for me btw) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
timemory-plotter fails for
lulesh
app:To reproduce:
Uploaded JSON as txt as github does not support JSON uploads: lulesh.json.txt
The text was updated successfully, but these errors were encountered: