OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:VmConfig
(Results
1 - 11
of
11
) sorted by null
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
VirtualMachine.java
19
import com.google.caliper.config.
VmConfig
;
28
final
VmConfig
config;
30
VirtualMachine(String name,
VmConfig
config) {
RunnerModule.java
21
import com.google.caliper.config.
VmConfig
;
54
VmConfig
vmConfig
= config.getVmConfig(platform, vmName);
55
builder.add(new VirtualMachine(vmName,
vmConfig
));
WorkerProcess.java
22
import com.google.caliper.config.
VmConfig
;
165
VmConfig
vmConfig
= vm.config;
168
Iterable<String> instrumentJvmOptions = instrument.getExtraCommandLineArgs(
vmConfig
);
174
args.addAll(
vmConfig
.workerProcessArgs());
187
VmConfig
vmConfig
= vm.config;
188
String platformName =
vmConfig
.platformName();
191
String jdkPath =
vmConfig
.vmExecutable().getAbsolutePath();
195
ImmutableList<String> jvmOptions =
vmConfig
.options()
[
all
...]
AllocationInstrument.java
26
import com.google.caliper.config.
VmConfig
;
200
@Override ImmutableSet<String> getExtraCommandLineArgs(
VmConfig
vmConfig
) {
219
.addAll(super.getExtraCommandLineArgs(
vmConfig
))
Instrument.java
25
import com.google.caliper.config.
VmConfig
;
156
* @param
vmConfig
the configuration for the VM on which this is running.
158
ImmutableSet<String> getExtraCommandLineArgs(
VmConfig
vmConfig
) {
159
return
vmConfig
.commonInstrumentVmArgs();
/external/caliper/caliper/src/main/java/com/google/caliper/config/
VmConfig.java
41
public final class
VmConfig
{
49
private
VmConfig
(Builder builder) {
56
public
VmConfig
(File vmHome, Iterable<String> options, File vmExecutable, Platform platform) {
97
} else if (obj instanceof
VmConfig
) {
98
VmConfig
that = (
VmConfig
) obj;
140
public
VmConfig
build() {
141
return new
VmConfig
(this);
CaliperConfig.java
110
public
VmConfig
getDefaultVmConfig(Platform platform) {
111
return new
VmConfig
.Builder(platform, platform.defaultVmHomeDir())
118
public
VmConfig
getVmConfig(Platform platform, String name)
129
return new
VmConfig
.Builder(platform, homeDir)
/external/caliper/caliper/src/test/java/com/google/caliper/config/
VmConfigTest.java
30
* Tests {@link
VmConfig
}.
41
new
VmConfig
.Builder(new JvmPlatform(), new File(System.getProperty("java.home")))
CaliperConfigTest.java
53
VmConfig
defaultVmConfig = configuration.getDefaultVmConfig(platform);
69
assertEquals(new
VmConfig
.Builder(platform, jdkHome).build(),
80
assertEquals(new
VmConfig
.Builder(platform, jdkHome).build(),
91
new
VmConfig
.Builder(platform, jdkHome)
107
new
VmConfig
.Builder(platform, jdkHome)
/external/caliper/caliper/src/test/java/com/google/caliper/runner/
AllocationInstrumentTest.java
21
import com.google.caliper.config.
VmConfig
;
62
VmConfig
vmConfig
= new
VmConfig
.Builder(platform, new File(System.getProperty("java.home")))
64
assertEquals(expected, instrument.getExtraCommandLineArgs(
vmConfig
));
WorkerProcessTest.java
25
import com.google.caliper.config.
VmConfig
;
78
VmConfig
vmConfig
= new
VmConfig
(
86
new VirtualMachine("foo-jvm",
vmConfig
));
98
allocationInstrument.getExtraCommandLineArgs(
vmConfig
);
Completed in 1053 milliseconds