fflush() rapl output so it always appears immediately

RESOLVED FIXED in Firefox 43

Status

()

RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: njn, Assigned: njn)

Tracking

unspecified
mozilla43
Points:
---

Firefox Tracking Flags

(firefox43 fixed)

Details

Attachments

(1 attachment)

(Assignee)

Description

3 years ago
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.
(Assignee)

Comment 1

3 years ago
Created attachment 8651637 [details] [diff] [review]
fflush() rapl output so it always appears immediately
Attachment #8651637 - Flags: review?(erahm)

Comment 2

3 years ago
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
Last Resolved: 3 years ago
status-firefox43: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla43
You need to log in before you can comment on or make changes to this bug.