Archive - Jun 30, 2007

Learning Notes

in

To find how many CPU clocks have been run from the start of the program to now:

#include <time.h>
clock_t clockcycle;
clockcycle = clock();

CLOCKS_PER_SEC is a constant that shows how many CPU clocks per second. Divide the clock_t by CLOCKS_PER_SEC you get how many seconds the program runs.

563

According to Ferris Research, spam would cost the world $50 billion, a bit less than Vietnam's GDP. How much better would the world be if I have that money... (Answer:Non. But I won't spend it to annoy peoples' blog.)

— Mgccl

Honey Pot that kill bots