Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.11 seconds.

  1. Replies
    23
    Views
    2,681

    Re: getProcessCPUTime()

    Okay, and what class does that belong to?
  2. Replies
    23
    Views
    2,681

    Re: getProcessCPUTime()

    That doesn't answer any of the questions I asked.
  3. Replies
    23
    Views
    2,681

    Re: getProcessCPUTime()

    I'm really not sure what you think that's supposed to do. Answer these questions:

    What functions are in the OperatingSystemMXBean class?

    What *static* functions are in the OperatingSystemMXBean...
  4. Replies
    23
    Views
    2,681

    Re: getProcessCPUTime()

    Take a look at the API: OperatingSystemMXBean (Java Platform SE 8 )

    That class does not contain that method. In fact, it doesn't contain any static methods, which is how you're trying to call it....
  5. Replies
    23
    Views
    2,681

    Re: getProcessCPUTime()

    You tell us. What is the error at line 42?
Results 1 to 5 of 5