Skip to content
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

Convert Schedule to Chrome Timing format so it can be nicely visualized #1

Open
eruffaldi opened this issue Mar 17, 2018 · 0 comments

Comments

@eruffaldi
Copy link
Owner

eruffaldi commented Mar 17, 2018

Check chrome://tracing
and https://chromedevtools.github.io/timeline-viewer/

https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/client/timeline.py

Args:
ph: The type of event - usually a single character.
category: The event category as a string.
name: The event name as a string.
pid: Identifier of the process generating this event as an integer.
tid: Identifier of the thread generating this event as an integer.
timestamp: The timestamp of this event as a long integer.

{
    "traceEvents": [
        {
            "ph": "M",
            "args": {
                "name": "Allocators"
            },
            "pid": 0,
            "name": "process_name"
        },
...
        {
            "name": "NoOp",
            "args": {
                "name": "_SOURCE",
                "op": "NoOp"
            },
            "pid": 1,
            "ts": 1521270814001434,
            "cat": "Op",
            "tid": 0,
            "ph": "X",
            "dur": 21
        },
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant