phoglund@webrtc.org
ec9c942e45
Reformatted thread and static_instance.
...
BUG=
TEST=Trybots.
Review URL: https://webrtc-codereview.appspot.com/1006005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3324 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-01-02 08:45:03 +00:00
phoglund@webrtc.org
6bc5d4dc07
Reformatted sort.
...
BUG=
TEST=Trybots.
Review URL: https://webrtc-codereview.appspot.com/998006
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3316 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-12-19 14:55:24 +00:00
phoglund@webrtc.org
6e0ce73741
Reformatted map classes.
...
BUG=
TEST=Trybots.
Review URL: https://webrtc-codereview.appspot.com/1006004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3308 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-12-18 17:18:35 +00:00
phoglund@webrtc.org
59ad541e57
Reformatted rw_lock classes.
...
BUG=
TEST=Trybots.
Review URL: https://webrtc-codereview.appspot.com/1007004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3305 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-12-18 15:20:35 +00:00
hclam@chromium.org
c5fcb0879b
Update trace_event.h to match the one in Chromium
...
Chromium's trace_event.h has updated to remove some not-well-used features.
Update WebRTC's copy to match.
Review URL: https://webrtc-codereview.appspot.com/995006
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3296 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-12-14 21:16:46 +00:00
phoglund@webrtc.org
52d981f60c
Reformatted list classes.
...
BUG=
TEST=Trybots
Review URL: https://webrtc-codereview.appspot.com/995004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3291 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-12-14 09:52:34 +00:00
phoglund@webrtc.org
740be44af5
Reformatted file_* classes.
...
BUG=
TEST=Trybots.
Review URL: https://webrtc-codereview.appspot.com/980004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3268 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-12-12 12:52:15 +00:00
hclam@chromium.org
4e16f25774
Remove atomicops.h from WebRTC
...
atomicops.h are not necessary in trace_event.h similar to the port in WebKit.
It will cause a benign race condition detected by TSAN. If it shows up in
TSAN we will either suppress it or annotate it with dynamic annotations.
BUG=1215
Review URL: https://webrtc-codereview.appspot.com/982004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3267 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-12-12 01:13:19 +00:00
hclam@chromium.org
ad7efa6944
Port Chromium's trace_event.h to WebKit and add
...
trace_event.h is ported from Chromium code.
These files are defined new for WebRTC:
* event_tracer.h
* event_tracer.cc
* event_tracer_unittest.cc
Review URL: https://webrtc-codereview.appspot.com/933034
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3262 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-12-11 21:19:08 +00:00
phoglund@webrtc.org
5bbe069f28
Reformatted event* classes.
...
TEST=Ran trybots.
Review URL: https://webrtc-codereview.appspot.com/972012
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3253 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-12-10 10:44:37 +00:00
wjia@webrtc.org
df94329a4b
Use different cpufeatures library when building with chrome.
...
There are more than one target when building with chrome. They have different build setup.
This patch just puts content of build/android/cpufeatures.gypi inside system_wrappers.gyp.
In the future, if more modules will use cpufeatures lib, we can move the code into a gypi file.
Review URL: https://webrtc-codereview.appspot.com/939030
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3242 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-12-05 22:54:52 +00:00
hclam@chromium.org
81cffd1f2c
Port Chromium's atomicops to WebRTC
...
Porting Chromium's base/atomicops.h and friends into WebRTC.
Included the original unit test in Chromium.
Review URL: https://webrtc-codereview.appspot.com/964026
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3241 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-12-05 22:51:01 +00:00
phoglund@webrtc.org
ba21c95e15
Reformatted data_log.
...
BUG=
Review URL: https://webrtc-codereview.appspot.com/974007
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3221 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-12-03 09:01:21 +00:00
phoglund@webrtc.org
99f7c917d2
Reformatted critical_section wrappers.
...
BUG=
TEST=ran trybots
Review URL: https://webrtc-codereview.appspot.com/971012
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3210 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-30 10:44:49 +00:00
andrew@webrtc.org
c3e5d3422b
Add a logging_no_op.cc when enable_tracing==0.
...
This should hopefully fix static initializer warnings when rolling webrtc
in Chromium.
TEST=logging_unittest succeeds with enable_tracing==1 and fails appropriately with enable_tracing==0.
Review URL: https://webrtc-codereview.appspot.com/939026
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3159 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-23 19:30:59 +00:00
phoglund@webrtc.org
b15d285458
Reformatted most of the CPU stuff in system_wrappers.
...
BUG=
Review URL: https://webrtc-codereview.appspot.com/930025
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3142 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-21 08:02:57 +00:00
andrew@webrtc.org
655d8f56f6
Add a kTraceTerseInfo level for non-verbose logging.
...
Review URL: https://webrtc-codereview.appspot.com/937023
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3134 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-20 07:34:45 +00:00
wjia@webrtc.org
815653bfa4
Use cpu_features library from ndk when built with chromium.
...
In Chromium on Andorid, nkd provides cpu_features library so that all modules using that library can link against it to avoid function re-definition.
Review URL: https://webrtc-codereview.appspot.com/937024
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3127 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-19 04:04:10 +00:00
leozwang@webrtc.org
f3adba499e
Add Android include path so that header files can follow google style
...
BUG=1011
TEST=bot
Review URL: https://webrtc-codereview.appspot.com/930018
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3107 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-15 18:17:40 +00:00
andrew@webrtc.org
23ec30bdfc
Clean up TraceCallback::Print.
...
Review URL: https://webrtc-codereview.appspot.com/936024
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3102 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-15 05:33:25 +00:00
andrew@webrtc.org
50419b0777
Add libjingle-style stream-style logging.
...
Add a highly stripped-down version of libjingle's base/logging.h. It is
a thin wrapper around WEBRTC_TRACE, maintaining the libjingle log
semantics to ease a transition to that format.
Also add some helper macros for easy API and function failure logging.
Review URL: https://webrtc-codereview.appspot.com/931010
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3099 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-14 19:07:54 +00:00
phoglund@webrtc.org
a36d75a03c
Reformatted condition_variable* in system_wrappers.
...
BUG=
TEST=Ran trybots.
Review URL: https://webrtc-codereview.appspot.com/937017
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3095 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-14 09:55:04 +00:00
thakis@chromium.org
6e470076ef
mac: Fix a port leak in threading code.
...
Chromium got the same fix in https://codereview.chromium.org/9169016/ 10 months ago.
Review URL: https://webrtc-codereview.appspot.com/929015
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3080 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-12 18:30:59 +00:00
brykt@google.com
e8ef807a2d
Added possibility to run quality modes test. Added possibility to input arguments to the test. The test will (for each frame) log the values in contentMetrics to a txt-file. The txt-file can optionally be saved in a specific place. Fixed an issue where video_coding_test crashed if there weren't any parameter submitted to an input argument.
...
BUG=
Review URL: https://webrtc-codereview.appspot.com/772005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3068 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-09 16:16:41 +00:00
phoglund@webrtc.org
9cb9fc17b1
Reformatted atomic32 files.
...
BUG=
Review URL: https://webrtc-codereview.appspot.com/937016
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3067 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-09 08:57:25 +00:00
tommi@webrtc.org
b952a90038
Remove an unused Shutdown method from the ThreadWrapper interface.
...
The method was flagged by Chrome engineers as dubious since it uses
TerminateThread. As it turns out, we don't use this method anywhere,
so we can simply remove it! :)
BUG=1066
Review URL: https://webrtc-codereview.appspot.com/938012
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3065 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-08 13:40:59 +00:00
phoglund@webrtc.org
4cebe6cded
Made TickTime immutable, rewrote tick utils to be fakeable.
...
BUG=
Review URL: https://webrtc-codereview.appspot.com/798004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3053 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-07 13:37:19 +00:00
henrike@webrtc.org
e341fd6073
Fixes http://code.google.com/p/webrtc/issues/detail?id=1003
...
BUG=1003
Review URL: https://webrtc-codereview.appspot.com/941004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3003 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-25 22:02:50 +00:00
andrew@webrtc.org
14b43beb7c
Move src/ -> webrtc/
...
TBR=niklas.enbom@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/915006
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2963 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-22 18:19:23 +00:00