digitalmars.D.learn - Timer library?
- =?ISO-8859-1?Q?Pelle_M=E5nsson?= (6/6) Jan 25 2010 I'm in need for a timer library that measures the acutal time. I have
- Stanislav Blinov (2/10) Jan 25 2010 Have you tried std.date? :-)
- strtr (2/13) Jan 25 2010 and there is of course the undocumented std.perf.
- Lars T. Kyllingstad (4/18) Jan 25 2010 It's not undocumented, it's just badly linked-to. :)
- strtr (2/7) Jan 25 2010 http://www.digitalmars.com/d/1.0/phobos/std_perf.html
- =?UTF-8?B?UGVsbGUgTcOlbnNzb24=?= (2/15) Jan 25 2010 It seems std.perf is indeed suitable. Thank you!
I'm in need for a timer library that measures the acutal time. I have tried std.c.time's clock(), but it only measures time spent inside the program, not actual time elapsed. I need at least millisecond resolution, so std.c.time.time() is not an option. I wonder, is there a good library for this?
Jan 25 2010
Pelle Månsson wrote:I'm in need for a timer library that measures the acutal time. I have tried std.c.time's clock(), but it only measures time spent inside the program, not actual time elapsed. I need at least millisecond resolution, so std.c.time.time() is not an option. I wonder, is there a good library for this?Have you tried std.date? :-)
Jan 25 2010
Stanislav Blinov Wrote:Pelle Månsson wrote:and there is of course the undocumented std.perf.I'm in need for a timer library that measures the acutal time. I have tried std.c.time's clock(), but it only measures time spent inside the program, not actual time elapsed. I need at least millisecond resolution, so std.c.time.time() is not an option. I wonder, is there a good library for this?Have you tried std.date? :-)
Jan 25 2010
strtr wrote:Stanislav Blinov Wrote:It's not undocumented, it's just badly linked-to. :) http://www.digitalmars.com/d/2.0/phobos/std_perf.html -LarsPelle M幩sson wrote:and there is of course the undocumented std.perf.I'm in need for a timer library that measures the acutal time. I have tried std.c.time's clock(), but it only measures time spent inside the program, not actual time elapsed. I need at least millisecond resolution, so std.c.time.time() is not an option. I wonder, is there a good library for this?Have you tried std.date? :-)
Jan 25 2010
Lars T. Kyllingstad Wrote:It's not undocumented, it's just badly linked-to. :) http://www.digitalmars.com/d/2.0/phobos/std_perf.html -Larshttp://www.digitalmars.com/d/1.0/phobos/std_perf.html
Jan 25 2010
On 01/25/2010 04:02 PM, strtr wrote:Stanislav Blinov Wrote:It seems std.perf is indeed suitable. Thank you!Pelle M�nsson wrote:and there is of course the undocumented std.perf.I'm in need for a timer library that measures the acutal time. I have tried std.c.time's clock(), but it only measures time spent inside the program, not actual time elapsed. I need at least millisecond resolution, so std.c.time.time() is not an option. I wonder, is there a good library for this?Have you tried std.date? :-)
Jan 25 2010