IBM / ibm-spectrum-scale-bridge-for-grafana

This tool allows the IBM Storage Scale users to perform performance monitoring for IBM Storage Scale devices using third-party applications such as Grafana or Prometheus software.
Apache License 2.0
30 stars 17 forks source link

Add measure of the function used cpu time to the internal performance analytics #208

Closed Helene closed 4 months ago

Helene commented 4 months ago

In Python, the most basic form of profiling involves measuring the code execution time by calling one of the timer functions from the time module. The command time.perf_counter() will be used to obtain the elapsed real time and time.process_time() to get the CPU time.