🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #7331

Measure Time

#7331
From: Shoo
Date: Wed, 27 Jun 2001 05:46
30 lines
1263 bytes
Hello~

I wanna measure how long does a meathod take to finish its function.

For example, the following meathod



                   outputClient1.write(a, 0 ,c);



What should I put  between the meathod?

Or, is there any timeing function for measuring time?

Class Timestamp?

Thanks for your reply.

I do appreicate!

Best regards,

Shoo


PS: By the way, is there any nice web resourse which give a piece of code to
show the basic function of each class?
      Thanks~
Technical Details
Message-ID: <3b39d5d1_2@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,f5ad0b6dba6ad7b0,start
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-06-27 06:02:33 PST
From: "Shoo" <edwinshoo@supanet.com>
Newsgroups: borland.public.jbuilder.java.language
Subject: Measure Time
Date: Wed, 27 Jun 2001 13:46:05 +0800
Lines: 38
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6700
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
NNTP-Posting-Host: 62.252.148.28
Message-ID: <3b39d5d1_2@dnews>
X-Trace: dnews 993646033 62.252.148.28 (27 Jun 2001 05:47:13 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews