Searched defs:cpu (Results 1 - 6 of 6) sorted by relevance

/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/
H A DAltPlatformInfo.java28 // Additional cpu types can be tested via this interface
30 public boolean knownCPU(String cpu); argument
/openjdk7/hotspot/src/os_cpu/linux_sparc/vm/
H A Dvm_version_linux_sparc.cpp30 char cpu[128]; local
39 if (fscanf(fp, "cpu\t\t: %100[^\n]", &cpu) == 1) {
40 if (strstr(cpu, "Niagara") != NULL) {
/openjdk7/jdk/src/solaris/native/com/sun/management/
H A DMacosxOperatingSystem.c66 jdouble cpu = (jdouble) used_delta / total_delta; local
71 return cpu;
154 jdouble cpu = (jdouble) task_time_delta / time_delta; local
159 return cpu;
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/
H A DHotSpotAgent.java60 private String cpu; field in class:HotSpotAgent
326 cpu = PlatformInfo.getCPU();
449 if (cpu.equals("x86")) {
451 } else if (cpu.equals("sparc")) {
465 } else if (cpu.equals("amd64")) {
493 cpu = debugger.getCPU();
507 if (cpu.equals("x86")) {
509 } else if (cpu.equals("amd64")) {
511 } else if (cpu.equals("ia64")) {
539 if (cpu
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/bugspot/
H A DBugSpotAgent.java75 private String cpu; field in class:BugSpotAgent
505 cpu = PlatformInfo.getCPU();
639 if (cpu.equals("x86")) {
641 } else if (cpu.equals("sparc")) {
654 } else if (cpu.equals("amd64")) {
681 cpu = debugger.getCPU();
696 if (cpu.equals("x86")) {
698 } else if (cpu.equals("amd64")) {
700 } else if (cpu.equals("ia64")) {
727 if (cpu
[all...]
/openjdk7/hotspot/src/os/linux/vm/
H A Dos_linux.cpp1461 // Switch to using fast clocks for thread cpu time if
2847 unsigned int cpu; local
2854 retval = syscall(SYS_getcpu, &cpu, NULL, NULL);
2862 typedef long (*vgetcpu_t)(unsigned int *cpu, unsigned int *node, unsigned long *tcache);
2864 retval = vgetcpu(&cpu, NULL, NULL);
2867 return (retval == -1) ? retval : cpu;
2914 // Create a cpu -> node mapping
4223 // This is the fastest way to get thread cpu time on Linux.
4224 // Returns cpu time (user+sys) for any thread, not only for current.
5144 // We first try accessing /proc/<pid>/cpu sinc
[all...]

Completed in 84 milliseconds