Honza Bambas
c2f0adc9a2
Bug 899620 - Remove FORCE_PR_LOG from Windows implementation of TimeStamp, r=ehsan
2013-12-05 13:09:10 +01:00
Gabriele Svelto
d48fd3d8ac
Bug 906754 - Ensure that TimeStamp's static fields are initialized only once. r=froydnj
2013-10-28 20:50:09 +01:00
Benjamin Smedberg
b563c2d421
Bug 927944 part B - move AutoCriticalSection to nsWindowsHelpers.h and use it instead of manual lock handling in nsWindowsDllBlocklist.cpp, r=ehsan
...
--HG--
extra : rebase_source : 54e55b729263bffbb5a92c3336eacf248e99a659
2013-10-18 14:24:51 -04:00
Gabriele Svelto
e27e54667f
Bug 852250 - When restarting recompute the process startup timestamp instead of using the timestamp stored it in MOZ_APP_RESTART during the shutdown procedure. r=nfroyd
2013-07-31 12:51:58 +02:00
Jacek Caban
db3f6c871b
Bug 879703 - Make TimeStampValue(_SomethingVeryRandomHere*) inline. r=tbsaunde
2013-06-06 12:59:18 +02:00
Trevor Saunders
cbbd41bc09
bug 876515 - make the default constructor for TimeStamp{,Value} constexpr r=froydnj
...
I had to remove the assert in the windows TimeStampValue::TimeStampValue() so
it could be constexpr. another option would be to make the constructors being
constexpr conditional on DEBUG, but that requires a couple ifdefs, and it just
seems simpler to make that constructor private and assume TimeStamp code itself
won't be so dumb as to pass that constructor a meaningful value expecting
something to be done with it.
2013-05-27 17:27:06 -04:00
Gabriele Svelto
8d6ecdb6a0
Bug 793735 - Add functionality to create TimeStamp instances representing the process creation time, r=nfroyd
2013-03-28 11:28:09 +01:00
Honza Bambas
d6c90a7f32
Bug 836869 - Make QueryPerformanceCounter bad leap detection heuristic smarter, r=tellrob, sr=benjamin
2013-05-01 18:57:58 +02:00
Nathan Froyd
c51a8b0019
Backout 61e1edc0b6bf (bug 793735), 77014412cd4a (bug 793735), and 8c5aa269c3cd (bug 793735) for botching FHR data
2013-04-09 16:25:42 -04:00
Gabriele Svelto
12254c942f
Bug 793735 - Add functionality to create TimeStamp instances representing the process creation time, r=froydnj
2013-03-28 11:28:09 +01:00
Jeff Walden
0bfefb7eed
Bug 847480 - Blindly convert all existing mozilla::Abs users to mozilla::DeprecatedAbs. Individualized conversions to the reformed mozilla::Abs will continue until mozilla::DeprecatedAbs is unused, at which point it will be removed. r=Ms2ger
2013-03-05 15:43:30 -08:00
Jeff Walden
bf23cd54f1
Bug 835542 - Implement mozilla::Abs. r=Ms2ger
...
--HG--
extra : rebase_source : a3e62ff76365d27cc4cb10e4fee942ddb8b10b79
2013-02-15 19:55:36 -08:00
Jacek Caban
865b3c2ae1
Bug 822490 - Include cstdlib for std::abs (GCC fixup)
2013-02-13 13:33:57 +01:00
Honza Bambas
f15437c70d
Bug 827287 - make it possible to use TimeStamp without performance concerns (TimeStamp::NowLoRes), r=ehsan, sr=roc
2013-02-11 22:56:59 +01:00
Honza Bambas
b2f0520748
Bug 822490 - Radically simplify windows TimeStamp implementation, r=tellrob
2013-02-11 22:56:58 +01:00
Trevor Saunders
e1d9c076e4
bug 829288 - fix a bunch of mingw warnings in xpcom/ r=ehsan
2013-01-10 03:39:40 -05:00
Honza Bambas
6c23719453
Bug 765215 - Firefox 13 hangs on resuming from sleep, introduced wake up adjust for QueryPerformanceCounter, r=ehsan
2012-12-22 15:46:14 +01:00
Nathan Froyd
bd55a07f0e
Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan
2012-10-29 19:32:10 -04:00
Ehsan Akhgari
6253cefbc6
Bug 784859 - Part 6: Remove the need for locking in all calls to TimeStamp::Now; r=bbondy
2012-09-08 14:13:17 -04:00
Ehsan Akhgari
e79ffee873
Bug 784859 - Part 5: Change the implementation of GetTickCount64Fallback so that it never locks; r=bbondy
2012-09-06 11:01:06 -04:00
Ehsan Akhgari
8404b33a6a
Bug 784859 - Part 4: Use the native GetTickCount64 function where available; r=bbondy
2012-09-08 14:12:34 -04:00
Ehsan Akhgari
fa352821c8
Bug 784859 - Part 3: Refactor TickCount64 to make its signature similar to GetTickCount64; r=bbondy
2012-09-08 14:12:14 -04:00
Ehsan Akhgari
a3bc31597e
Bug 784859 - Part 2: Avoid locking to store the computed result in the global variable in CalibratedPerformanceCounter; r=bbondy
2012-09-06 11:01:06 -04:00
Ehsan Akhgari
813695d719
Bug 784859 - Part 1: Use QueryPerformanceCounter directly if the machine has a stable TSC; r=bbondy
2012-09-06 11:01:06 -04:00
Joe Olivas
2f86f8951b
Bug 786789 - Optimize TimeDuration::ToSeconds on Windows to avoid blocked store forwards; r=ehsan
2012-08-29 21:09:01 -04:00
Ehsan Akhgari
0fd9123eac
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Honza Bambas
85f602de44
Bug 676349 - Implement high-resolution platform timers for the Windows platform, r=robarnold
2011-12-09 00:14:42 +01:00
Ed Morley
8da64e2394
Backout 9a59028a3510 (bug 676349) on suspicion of breaking Win PGO builds
2011-12-07 02:22:09 +00:00
Honza Bambas
24e151d023
Bug 676349 - Implement high-resolution platform timers for the Windows platform, r=robarnold
2011-12-06 12:16:16 +01:00