omni.hydra.engine.stats

class omni.hydra.engine.stats.HydraEngineStats
get_available_perfsdk_node_keys(self: omni.hydra.engine.stats._stats.HydraEngineStats) List[str]

Get name of keys used in gpu profiler result which stores PerfSdk statistics.

get_gpu_profiler_result(self: omni.hydra.engine.stats._stats.HydraEngineStats) List[list]

Get GPU profiler result in a list of tuples with dictionaries. Each item in the list correspond to a GPU device, and tuples contain timestamp data in a dictionary.

get_nested_gpu_profiler_result(self: omni.hydra.engine.stats._stats.HydraEngineStats, max_indent: int = 1) List[dict]

Get GPU profiler result in a list of tuples with dictionaries. Each item in the list correspond to a GPU device, and tuples contain timestamp data in a dictionary.

get_perfsdk_node_keys(self: omni.hydra.engine.stats._stats.HydraEngineStats) List[str[4]]

(deprecated) Get name of keys used in gpu profiler result which stores PerfSdk statistics.

reset_gpu_profiler_containers(self: omni.hydra.engine.stats._stats.HydraEngineStats) bool

Resets recorded GPU profiler result in the containers for the engine. To avoid simultaneous access to containers disable recording during saving step. The container records profiler data from RenderGraphs.

save_gpu_profiler_result_to_json(self: omni.hydra.engine.stats._stats.HydraEngineStats, arg0: str) bool

Saves recorded GPU profiler result for the engine in a json file. GPU profiler should be enabled. To avoid simultaneous access to containers disable recording during saving step. The container records profiler data from RenderGraphs.

Parameters

fileName (str) – The name of the Json file, or nullptr to generate a default name. The directory to save the file is chosen from the config ‘/profiler/filePath’.

omni.hydra.engine.stats.get_device_info(device_index: int = 4294967295) List[dict]

Get device info as a list of dictionaries.

omni.hydra.engine.stats.get_mem_stats(detailed: bool = False) tuple

Get memory stats result in tuples.