Skip to content

Commit daf6450

Browse files
committed
feat: add access to synthetic components
1 parent 92fc624 commit daf6450

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

measure/src/main/java/net/laprun/sustainability/power/measure/OngoingPowerMeasure.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,4 +163,8 @@ public Timing timingInfo() {
163163
System.arraycopy(timestamps, 0, result, 0, timestamps.length);
164164
return new Timing(result, startedAt, samplePeriod);
165165
}
166+
167+
public List<RegisteredSyntheticComponent> syntheticComponents() {
168+
return syntheticComponents;
169+
}
166170
}

0 commit comments

Comments
 (0)