Searched refs:_unit (Results 1 - 2 of 2) sorted by relevance

/openjdk7/hotspot/src/share/vm/services/
H A DdiagnosticArgument.cpp205 strcpy(_value._unit, "ns");
212 strncpy(_value._unit, &str[idx], len - idx);
213 /*Write an extra null termination. This is safe because _value._unit
218 _value._unit[len-idx] = '\0';
221 if (strcmp(_value._unit, "ns") == 0) {
223 } else if (strcmp(_value._unit, "us") == 0) {
225 } else if (strcmp(_value._unit, "ms") == 0) {
227 } else if (strcmp(_value._unit, "s") == 0) {
229 } else if (strcmp(_value._unit, "m") == 0) {
231 } else if (strcmp(_value._unit, "
[all...]
H A DdiagnosticArgument.hpp67 char _unit[3]; member in class:NanoTimeArgument

Completed in 31 milliseconds