Benchmark Data

class cupyx.profiler._time._PerfCaseResult(name, ts, devices)[source]

An obscure object encompassing timing results recorded by benchmark(). Simple statistics can be obtained by converting an instance of this class to a string.

Warning

This API is currently experimental and subject to change in future releases.

property cpu_times

Returns an array of CPU times of size n_repeat.

property gpu_times

Returns an array of GPU times of size n_repeat.