Commit Graph
21 Commits
Author SHA1 Message Date
Chris Manchester 67a3d90503 Bug 1386876 - Replace all uses of DISABLE_STL_WRAPPING with a template, remove DISABLE_STL_WRAPPING. r=glandium
MozReview-Commit-ID: FMEtb5PY7iP
2017-09-11 11:33:26 -07:00
Sylvestre Ledru 7cbba7174d Bug 1337358 - Converts for(...; ...; ...) loops to use the new range-based loops in C++11 in tools/ r=froydnj
MozReview-Commit-ID: GdeCzDXjzzg
2017-02-08 12:04:50 +01:00
Kirti Singla e3d070aa48 Bug 1301627 - Change the name of commented variables when calling perf_event_open. r=erahm 2016-10-23 10:10:00 -07:00
Tom Tromey 1b5a2bdb96 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx
2016-07-14 10:16:42 -06:00
George Wright 4b6255d510 Revert "Bug 1114647 - Rename "plugin-container" to "firefox-webcontent" and create a new executable target for Win32 called "firefox-plugin-container" r=ted,jhamer" because of widespread breakage due to whitelisted executable names in third parties
This reverts commit a94b5f861bd0d25043a3bb7a0c3128acf8c0b93a.
2016-04-08 13:34:40 -04:00
George Wright 47045c3266 Bug 1114647 - Rename "plugin-container" to "firefox-webcontent" and create a new executable target for Win32 called "firefox-plugin-container" r=ted,jhamer 2016-04-01 02:12:59 -04:00
Chris Peterson 60b41ef447 Bug 1236393 - Annotate intentional switch fallthrough to suppress -Wimplicit-fallthrough warning in tools/power/rapl.cpp. r=njn
tools/power/rapl.cpp:331:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
2015-11-23 22:41:07 -08:00
Chris Peterson da943680c3 Bug 1222887 - Suppress -Wunreachable-code warning in tools/power. r=njn
tools/power/rapl.cpp:844:5 [-Wunreachable-code] code will never be executed

clang reports a -Wunreachable-code warning for sigemptyset() because Darwin's sigemptyset() is a macro that always returns 0. Thus `if (sigemptyset(&sa.sa_mask) < 0)` is always false and `Abort("sigemptyset() failed")` is never called. Linux's sigemptyset() can return 0 or -1. The extra parens around (0) suppress the clang warning.
2015-11-09 01:03:54 -08:00
Nicholas Nethercote 5866dce711 Bug 1214924 - Add "WindowServer" and "kernel" processes to |mach power|'s output. r=BenWa. 2015-10-16 14:01:22 +11:00
Nicholas Nethercote fd9087b7bc Bug 1204787 - Add |mach power|. r=glandium.
This extracts the most useful browser-related measurements from rapl and
powermetrics.
2015-09-15 16:23:45 +10:00
Nicholas Nethercote bcb3f42ed7 Bug 1203811 - Clarify two error messages in tools/power/rapl. r=heycam. 2015-09-10 23:12:31 -07:00
Nicholas Nethercote 9035fde2c6 Bug 1203834 - Fix's rapl's handling of unsupported power domains. r=glandium.
The "gpu" and "ram" domains aren't supported by all platforms. rapl has a
special constant |kUnsupported_j| to represent this on Linux, but I
accidentally have a minus sign in front of it in several places, which means
that instead of printing "n/a" for unsupported planes we always print "1.0".

I think this happened because I used to hardwire -1 in there and then I later
changed it to a constant but forgot to remove the minus signs.

It sure would be nice to have automated testing for this stuff, but I don't see
how to do it.
2015-09-10 23:12:20 -07:00
Nicholas Nethercote b131634337 Bug 1201811 (part 2) - Don't print distribution stats if there was only 1 sample. r=erahm. 2015-09-04 01:45:13 -07:00
Nicholas Nethercote a20a81cb5c Bug 1201811 (part 1) - Don't use integer arithmetic when summing totals in rapl. r=erahm. 2015-09-04 01:04:46 -07:00
Nicholas Nethercote 12fec02dfb Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
2015-08-27 20:44:53 -07:00
Nicholas Nethercote 51c16245e3 Bug 1198334 (part 0) - Tighten up warnings-as-errors usage in tools/power/. r=glandium. 2015-08-27 20:40:44 -07:00
Nicholas Nethercote e18487ea21 Bug 1198137 (follow-up) - Add a missing #include to unbreak Mac OS builds on a CLOSED TREE. r=me 2015-08-26 11:48:08 +10:00
Nicholas Nethercote a8a4584340 Bug 1198137 - Add some summary stats to tool/power/rapl's output. r=erahm.
"mean" is most useful, then "min" and "max". The rest are moderately useful.
2015-08-25 18:11:03 -07:00
Nicholas Nethercote 4fab17430d Bug 1197694 - fflush() rapl output so it always appears immediately. r=erahm. 2015-08-24 15:59:37 -07:00
Nicholas Nethercote 6a2cbd11e0 Bug 1194560 (follow-up) - Only build rapl on Linux if the arch is x86 or x86-64. r=glandium. 2015-08-20 17:02:18 -07:00
Nicholas Nethercote e1aa9c6d8b Bug 1194560 - Add tools/power/rapl, a RAPL-reading program for power profiling. r=erahm,glandium. 2015-08-19 22:25:30 -07:00