Home
last modified time | relevance | path

Searched refs:fakeProgress (Results 1 – 4 of 4) sorted by relevance

/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-tools/hadoop-gridmix/src/test/java/org/apache/hadoop/mapred/gridmix/
H A DTestResourceUsageEmulators.java445 FakeProgressive fakeProgress = new FakeProgressive(); in testCumulativeCpuUsageEmulatorPlugin() local
498 fakeProgress = new FakeProgressive(); // initialize in testCumulativeCpuUsageEmulatorPlugin()
503 cpuPlugin.initialize(conf, metrics, monitor, fakeProgress); in testCumulativeCpuUsageEmulatorPlugin()
511 testEmulationBoundary(0.24F, fakeCore, fakeProgress, cpuPlugin, in testCumulativeCpuUsageEmulatorPlugin()
535 fakeProgress = new FakeProgressive(); // initialize in testCumulativeCpuUsageEmulatorPlugin()
540 cpuPlugin.initialize(conf, metrics, monitor, fakeProgress); in testCumulativeCpuUsageEmulatorPlugin()
581 FakeProgressive fakeProgress = new FakeProgressive(); in testEmulationAccuracy() local
583 cpuPlugin.initialize(conf, metrics, monitor, fakeProgress); in testEmulationAccuracy()
585 while (fakeProgress.getProgress() < 1) { in testEmulationAccuracy()
588 fakeProgress.setProgress(progress); in testEmulationAccuracy()
[all …]
H A DTestGridmixMemoryEmulation.java144 FakeProgressive fakeProgress = new FakeProgressive(); in testTotalHeapUsageEmulatorPlugin() local
234 fakeProgress = new FakeProgressive(); // initialize in testTotalHeapUsageEmulatorPlugin()
239 heapPlugin.initialize(conf, metrics, monitor, fakeProgress); in testTotalHeapUsageEmulatorPlugin()
248 testEmulationBoundary(0.24F, fakeCore, fakeProgress, heapPlugin, in testTotalHeapUsageEmulatorPlugin()
252 testEmulationBoundary(0.25F, fakeCore, fakeProgress, heapPlugin, in testTotalHeapUsageEmulatorPlugin()
259 testEmulationBoundary(1F, fakeCore, fakeProgress, heapPlugin, in testTotalHeapUsageEmulatorPlugin()
273 FakeProgressive fakeProgress = new FakeProgressive(); in testEmulationAccuracy() local
275 heapPlugin.initialize(conf, metrics, monitor, fakeProgress); in testEmulationAccuracy()
277 while (fakeProgress.getProgress() < 1) { in testEmulationAccuracy()
280 fakeProgress.setProgress(progress); in testEmulationAccuracy()
[all …]
/dports/devel/hadoop/hadoop-1.2.1/src/contrib/gridmix/src/test/org/apache/hadoop/mapred/gridmix/
H A DTestResourceUsageEmulators.java456 FakeProgressive fakeProgress = new FakeProgressive(); in testCumulativeCpuUsageEmulatorPlugin() local
504 fakeProgress = new FakeProgressive(); // initialize in testCumulativeCpuUsageEmulatorPlugin()
509 cpuPlugin.initialize(conf, metrics, monitor, fakeProgress); in testCumulativeCpuUsageEmulatorPlugin()
517 testEmulationBoundary(0.24F, fakeCore, fakeProgress, cpuPlugin, in testCumulativeCpuUsageEmulatorPlugin()
541 fakeProgress = new FakeProgressive(); // initialize in testCumulativeCpuUsageEmulatorPlugin()
546 cpuPlugin.initialize(conf, metrics, monitor, fakeProgress); in testCumulativeCpuUsageEmulatorPlugin()
587 FakeProgressive fakeProgress = new FakeProgressive(); in testEmulationAccuracy() local
589 cpuPlugin.initialize(conf, metrics, monitor, fakeProgress); in testEmulationAccuracy()
591 while (fakeProgress.getProgress() < 1) { in testEmulationAccuracy()
594 fakeProgress.setProgress(progress); in testEmulationAccuracy()
[all …]
H A DTestGridmixMemoryEmulation.java144 FakeProgressive fakeProgress = new FakeProgressive(); in testTotalHeapUsageEmulatorPlugin() local
229 fakeProgress = new FakeProgressive(); // initialize in testTotalHeapUsageEmulatorPlugin()
234 heapPlugin.initialize(conf, metrics, monitor, fakeProgress); in testTotalHeapUsageEmulatorPlugin()
243 testEmulationBoundary(0.24F, fakeCore, fakeProgress, heapPlugin, in testTotalHeapUsageEmulatorPlugin()
247 testEmulationBoundary(0.25F, fakeCore, fakeProgress, heapPlugin, in testTotalHeapUsageEmulatorPlugin()
254 testEmulationBoundary(1F, fakeCore, fakeProgress, heapPlugin, in testTotalHeapUsageEmulatorPlugin()
268 FakeProgressive fakeProgress = new FakeProgressive(); in testEmulationAccuracy() local
270 heapPlugin.initialize(conf, metrics, monitor, fakeProgress); in testEmulationAccuracy()
272 while (fakeProgress.getProgress() < 1) { in testEmulationAccuracy()
275 fakeProgress.setProgress(progress); in testEmulationAccuracy()
[all …]