Revision: 970 Author: teawater Date: Wed Mar 14 08:05:00 2012 Log: Add hotest.c http://code.google.com/p/kgtp/source/detail?r=970 Added: /bak/hotest.c Modified: /bak/README ======================================= --- /dev/null +++ /bak/hotest.c Wed Mar 14 08:05:00 2012 @@ -0,0 +1,21 @@ +#include <sys/types.h> +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <unistd.h> +#include <errno.h> +#include <sys/stat.h> +#include <fcntl.h> +#include <stdint.h> + +int +main(int argc,char *argv[],char *envp[]) +{ + int i, j; + + printf("%d\n", getpid()); + for (i = 1; i < 99999999999; i++) + j = i / 13; + + return 0; +} ======================================= --- /bak/README Sat Feb 25 02:56:21 2012 +++ /bak/README Wed Mar 14 08:05:00 2012 @@ -1,3 +1,4 @@ readc.c A test code to show how much lseek and read in 1 sec. +hotest.c A test code for hotcode.py rspsum.c Show the checksum of argument update_patch.py Auto update the patch in trunk dir