Skip to content

Commit 0a96c86

Browse files
expand PMTObserver documentation
1 parent 6050a94 commit 0a96c86

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

kernel_tuner/observers/pmt.py

+16
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,22 @@ class PMTObserver(BenchmarkObserver):
2828
2929
:type observables: string,list/dictionary
3030
31+
32+
:param use_continuous_observer:
33+
Boolean to control whether or not to measure power/energy using
34+
Kernel Tuner's continuous benchmarking mode. This improves measurement
35+
accuracy when using internal power sensors, such as NVML or ROCM,
36+
which have limited sampling frequency and might return averages
37+
instead of instantaneous power readings. Default value: False.
38+
39+
:type use_continuous_observer: boolean
40+
41+
42+
:param continuous_duration:
43+
Number of seconds to measure continuously for.
44+
45+
:type continuous_duration: scalar
46+
3147
"""
3248

3349
def __init__(self, observable=None, use_continuous_observer=False, continuous_duration=1):

0 commit comments

Comments
 (0)