/external/apache-harmony/jdwp/ |
H A D | Android.mk | 24 #jdwp_test_runtime_options += -verbose:threads
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/ |
H A D | VmMirror.java | 656 int threads = -1; 662 threads = request.getNextValueAsInt(); 663 for (int i = 0; i < threads; i++) {
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/EventModifiers/ |
H A D | ThreadOnlyModifierDebuggee.java | 83 logWriter.println("Create threads"); 84 Thread[] threads = new Thread[10]; 85 for (int i = 0; i < threads.length; ++i) { 86 threads[i] = new Thread(new TestThread(obj)); 87 threads[i].setName("TestThread#" + i); 91 THREAD_ONLY = threads[threads.length - 1]; 100 // Run all threads. 101 for (int i = 0; i < threads.length; ++i) { 102 runThread(threads[ [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/ |
H A D | NameTest.java | 59 int threads = reply.getNextValueAsInt(); 60 for (int i = 0 ;i < threads; i++) {
|
H A D | ResumeTest.java | 52 * <BR>At first the test starts ResumeDebuggee which starts and runs some tested threads. 69 ("## FAILURE: Exception while getting number of started threads from debuggee = " + exception); 71 printErrorAndFail("\n## Can NOT get number of started threads from debuggee! "); 74 logWriter.println("==> Number of threads in debuggee to test = " + testedThreadsNumber); 97 int threads = allThreadIDReply.getNextValueAsInt(); 98 logWriter.println("==> Number of all threads in debuggee = " + threads); 99 for (int i = 0; i < threads; i++) { 121 logWriter.println("## FAILURE: Tested thread is not found out among debuggee threads!"); 128 printErrorAndFail("\n## Some of tested threads ar [all...] |
H A D | SuspendCountTest.java | 53 * <BR>At first the test starts SuspendCountDebuggee which starts and runs some tested threads. 54 * <BR>After the tested threads starts, the test suspends every 60 * for all tested threads and main thread. 63 * for all tested threads and main thread. 73 ("## FAILURE: Exception while getting number of started threads from debuggee = " + exception); 75 printErrorAndFail("Can NOT get number of started threads from debuggee! "); 78 logWriter.println("==> There are no started threads in debuggee to test" 83 logWriter.println("==> Number of started threads in debuggee to test = " + testedThreadsNumber); 101 int threads = allThreadIDReply.getNextValueAsInt(); 102 logWriter.println("==> Number of all threads i [all...] |
H A D | SuspendTest.java | 51 * <BR>At first the test starts SuspendDebuggee which starts and runs some tested threads. 52 * <BR>After the tested threads starts, the test for every tested thread does: 66 ("## FAILURE: Exception while getting number of started threads from debuggee = " + exception); 67 printErrorAndFail("Can NOT get number of started threads from debuggee! "); 70 logWriter.println("==> There are no started threads in debuggee to test!"); 73 logWriter.println("==> Number of started threads in debuggee to test = " + testedThreadsNumber); 90 int threads = allThreadIDReply.getNextValueAsInt(); 91 logWriter.println("==> Number of all threads in debuggee = " + threads); 97 for (int i = 0; i < threads; [all...] |
H A D | ThreadGroup002Test.java | 53 * groups and starts some tested threads which belong to different created thread groups. 54 * <BR>After the tested threads start, at first the test wait for the some first 55 * tested threads to finish. 61 * <BR> - all threads with status ZOMBIE are only finished tested threads; 62 * <BR> - all threads without status ZOMBIE are only NOT finished tested threads; 75 ("## FAILURE: Exception while getting number of started threads from debuggee = " + exception); 77 printErrorAndFail("\n## Can NOT get number of started threads from debuggee! "); 80 logWriter.println("==> Number of threads i [all...] |
H A D | ThreadGroupTest.java | 50 * debuggee threads by VirtualMachine.AllThreads command and looks for tested thread. 61 logWriter.println("get all threads"); 63 int threads = reply.getNextValueAsInt(); 64 logWriter.println("exercise threads = " + threads); 70 for (int i = 0; i < threads; i++) {
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/ |
H A D | AllThreadsTest.java | 72 int threads = reply.getNextValueAsInt(); 73 logWriter.println("Number of threads = " + threads); 74 assertTrue("Number of threads must be > 0", threads > 0); 76 for (int i = 0; i < threads; i++) { 111 * all threads returned by command have only valid thread status: 131 int threads = reply.getNextValueAsInt(); 132 logWriter.println("Number of threads = " + threads); [all...] |
H A D | ResumeTest.java | 53 // We need to finish the tested threads before detaching. 54 logWriter.println("Finish debuggee tested threads"); 62 * <BR>At first the test starts ResumeDebuggee which starts and runs some tested threads. 64 * ThreadReference.Status command that all debuggee tested threads are suspended. 66 * ThreadReference.Status command that all debuggee tested threads are resumed. 74 // All the threads we're interested in. 77 // Suspend all threads with VirtualMachine.Suspend command. 80 // Check all threads are suspended now. 81 logWriter.println("\n==> Check that all tested threads are suspended " + 85 // Resume all threads wit [all...] |
H A D | SuspendTest.java | 49 * and checks with help of ThreadReference.Status command that all threads in debuggee 51 * debuggee threads are suspended. 70 int threads = reply.getNextValueAsInt(); 71 logWriter.println("Number of threads = " + threads); 72 assertTrue("Invalid number of threads: " + threads, threads > 0); 74 for (int i = 0; i < threads; i++) {
|
/external/bison/ |
H A D | configure | 2458 --enable-threads={posix|solaris|pth|windows} 2460 --disable-threads build without multithread safety 7193 # Check whether --enable-threads was given. 16446 # -lpthreads (FSU threads, PCthreads) 16473 # need to link with libpthread in order to create multiple threads.
|
/external/blktrace/btreplay/doc/ |
H A D | btreplay.tex | 118 time kept between managing threads.) 159 these record data files by spawning a new pair of threads per file. One 190 \emph{We could institute the notion of global time across threads,
|
/external/chromium-trace/ |
H A D | script.js | 201 base.exportTo("tracing.trace_model",function(){function d(a){if(!a)throw Error("Must provide a model");this.guid_=base.GUID.allocate();this.model=a;this.threads={};this.counters={};this.objects=new tracing.trace_model.ObjectCollection(this);this.bounds=new base.Range;this.sortIndex=0;this.ephemeralSettings={}}var b=tracing.trace_model.Thread,a=tracing.trace_model.Counter;d.compare=function(a,b){return a.sortIndex-b.sortIndex};d.prototype={get guid(){return this.guid_},get numThreads(){var a=0,b;for(b in this.threads)a++; 202 return a},toJSON:function(){for(var a={},b=Object.keys(this),f=0;f<b.length;f++){var g=b[f];"function"!=typeof this[g]&&"model"!=g&&(a[g]=this[g])}return a},shiftTimestampsForward:function(a){for(var b in this.threads)this.threads[b].shiftTimestampsForward(a);for(var f in this.counters)this.counters[f].shiftTimestampsForward(a);this.objects.shiftTimestampsForward(a)},autoCloseOpenSlices:function(a){for(var b in this.threads)this.threads[b].autoCloseOpenSlices(a)},autoDeleteObjects:function(a){this.objects.autoDeleteObjects(a)}, 203 preInitializeObjects:function(){this.objects.preInitializeAllObjects()},initializeObjects:function(){this.objects.initializeAllObjects()},mergeKernelWithUserland:function(){for(var a in this.threads)this.threads[a].mergeKernelWithUserland()},updateBounds:function(){this.bounds.reset();for(var a in this.threads)this.threads[ [all...] |
H A D | systrace.py | 81 parser.add_option('--no-fix-threads', dest='fix_threads', default=True, 228 threads = {} 238 threads[tid] = name 246 name = threads.get(tid) 251 threads[tid] = name
|
/external/chromium-trace/trace-viewer/src/cc/ |
H A D | raster_task_slice_view_test.js | 17 var rasterTask = p.threads[1].sliceGroup.slices.filter(function(slice) {
|
/external/chromium-trace/trace-viewer/src/tracing/importer/linux_perf/ |
H A D | android_parser_test.js | 45 var threads = m.getAllThreads(); 46 assertEquals(1, threads.length); 48 var thread = threads[0]; 63 var threads = m.getAllThreads(); 64 assertEquals(1, threads.length); 66 var thread = threads[0]; 85 var threads = m.getAllThreads(); 86 assertEquals(1, threads.length); 88 var thread = threads[0]; 133 var threads [all...] |
H A D | cpufreq_parser_test.js | 22 var threads = m.getAllThreads(); 23 assertEquals(1, threads.length); 25 var thread = threads[0]; 48 var threads = m.getAllThreads(); 49 assertEquals(1, threads.length); 51 var thread = threads[0]; 72 var threads = m.getAllThreads(); 73 assertEquals(1, threads.length); 75 var thread = threads[0]; 88 var threads [all...] |
H A D | drm_parser_test.js | 19 var threads = m.getAllThreads(); 20 assertEquals(1, threads.length); 22 var vblankThread = threads[0];
|
H A D | exynos_parser_test.js | 20 var threads = m.getAllThreads(); 21 assertEquals(1, threads.length); 23 var gfxFlipThread = threads[0];
|
H A D | gesture_parser_test.js | 101 var threads = m.getAllThreads(); 102 assertEquals(1, threads.length); 104 var gestureThread = threads[0]; 174 var threads = m.getAllThreads(); 175 assertEquals(1, threads.length);
|
H A D | irq_parser_test.js | 25 var threads = m.getAllThreads(); 26 assertEquals(2, threads.length); 28 var threads = m.findAllThreadsNamed('irqs cpu 1'); 29 assertEquals(1, threads.length); 30 assertEquals(1, threads[0].sliceGroup.length); 32 var threads = m.findAllThreadsNamed('softirq cpu 0'); 33 assertEquals(1, threads.length); 34 assertEquals(1, threads[0].sliceGroup.length);
|
H A D | kfunc_parser_test.js | 31 var thread = process.threads[127];
|
H A D | memreclaim_parser_test.js | 26 assertEquals(1, m.processes['1155'].threads['1155'].sliceGroup.length); 27 assertEquals(1, m.processes['33'].threads['33'].sliceGroup.length);
|