(self)
return self.root.to_dict()
Get timing data as a recursive dictionary of the format:
        {
            "name": "demo_timing",
            "duration": 0.3,
            "percent_total": 100.0,
            "percent_parent": null,
            "subs": [
                {
                    "name": "level0",
                    "duration": 0.2,
                    "percent_total": 66.66,
                    "percent_parent": 66.66,
                    "subs": [...]
                }
            ]
        }
Get timing data as a recursive dictionary of the format:
        {
            "name": "demo_timing",
            "duration": 0.3,
            "percent_total": 100.0,
            "percent_parent": null,
            "subs": [
                {
                    "name": "level0",
                    "duration": 0.2,
                    "percent_total": 66.66,
                    "percent_parent": 66.66,
                    "subs": [...]
                }
            ]
        }
Get timing data as a recursive dictionary of the format : { name : demo_timing duration : 0 . 3 percent_total : 100 . 0 percent_parent : null subs : [ { name : level0 duration : 0 . 2 percent_total : 66 . 66 percent_parent : 66 . 66 subs : [ ... ] } ] }
def to_dict(self):
        """Get timing data as a recursive dictionary of the format:
        {
            "name": "demo_timing",
            "duration": 0.3,
            "percent_total": 100.0,
            "percent_parent": null,
            "subs": [
                {
                    "name": "level0",
                    "duration": 0.2,
                    "percent_total": 66.66,
                    "percent_parent": 66.66,
                    "subs": [...]
                }
            ]
        }
        """
        return self.root.to_dict()
def to_dict ( self ) : return self . root . to_dict ( )