Closed Bug 1197694 Opened 9 years ago Closed 9 years ago

fflush() rapl output so it always appears immediately

Categories

(Core :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla43
Tracking Status
firefox43 --- fixed

People

(Reporter: n.nethercote, Assigned: n.nethercote)

Details

Attachments

(1 file)

tools/power/rapl's output is buffered, so if you pipe it through |tee| or
something like that you don't see it until the buffer fills up which is really
annoying. So we should flush after printing every sample.
Comment on attachment 8651637 [details] [diff] [review]
fflush() rapl output so it always appears immediately

Review of attachment 8651637 [details] [diff] [review]:
-----------------------------------------------------------------

r=me
Attachment #8651637 - Flags: review?(erahm) → review+
https://hg.mozilla.org/mozilla-central/rev/1ce9e44d2b4f
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla43
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: