VirtualBox

Changeset 2244 in vbox


Ignore:
Timestamp:
Apr 19, 2007 9:13:36 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
20596
Message:

NS and PCT units.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/stam.h

    r626 r2244  
    192192    /** Kilobytes. */
    193193    STAMUNIT_KILOBYTES,
     194    /** Nano seconds. */
     195    STAMUNIT_NS,
     196    /** Nanoseconds per call. */
     197    STAMUNIT_NS_PER_CALL,
     198    /** Nanoseconds per call. */
     199    STAMUNIT_NS_PER_OCCURENCE,
     200    /** Percentage. */
     201    STAMUNIT_PCT,
    194202    /** The end (exclusive). */
    195203    STAMUNIT_END
  • trunk/src/VBox/VMM/STAM.cpp

    r552 r2244  
    994994        case STAMUNIT_MEGABYTES:            return "megabytes";
    995995        case STAMUNIT_KILOBYTES:            return "kilobytes";
     996        case STAMUNIT_NS:                   return "ns";
     997        case STAMUNIT_NS_PER_CALL:          return "ns/call";
     998        case STAMUNIT_NS_PER_OCCURENCE:     return "ns/time";
     999        case STAMUNIT_PCT:                  return "%";
    9961000
    9971001        default:
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette