Path: csiph.com!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Cecil Westerhof Newsgroups: comp.lang.java.programmer Subject: Get real, user and system time Date: Sat, 18 Jul 2020 16:26:35 +0200 Organization: Decebal Computing Lines: 9 Message-ID: <87o8oc99wk.fsf@munus.decebal.nl> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: reader02.eternal-september.org; posting-host="aab75fc23916fc41360ecd1750a7354f"; logging-data="28165"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18TIj9GKQsf4ZKVc3nzyEZE045yr+4Mm9Q=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cancel-Lock: sha1:cRlli3eUWDmcOINkB82yIWl2FjY= sha1:C0u3PnzHowolLxuKsMGbqro3CjE= Xref: csiph.com comp.lang.java.programmer:39570 In Linux we have the time command to get the real, user and system time that a command takes. I know how to get the real time a method takes, but is there a way to get the user and system time a method takes also? -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof