sun's longitude:36 21 34 
¡¤ ÀÚÀ¯°Ô½ÃÆÇ ¡¤ ¹¯°í´äÇϱ⠡¤ ¾ËÆĹ®¼­ ¡¤ RPMS list
¡¤ »ç¿ëÀÚ¹®¼­ ¡¤ ÆÁ/FAQ¸ðÀ½ ¡¤ ¸®´ª½ºLinks ¡¤ ÀÚ·á½Ç
¡¤ ¼­¹öÁ¤º¸ ¡¤ ¿î¿µÀÚ ¡¤ Books/FAQ ¡¤ FreeBSD
 
/board/read.php:¼Ò½ºº¸±â   
 
¾ËÆĹ®¼­
ÀÚÁÖ Àؾî¸Ô°Å³ª, ¸Þ¸ðÇØ µÑ Çʿ伺ÀÌ ÀÖ´Â ÆÁÀ̳ª ¹®¼­, ±âŸ µîµî
[*** ¾²±â ±ÝÁö´Ü¾î ÆÐÅÏ ***]
±Û º»¹® Áß°£¿¡ ¾÷·ÎµåÇÒ À̹ÌÁö¸¦ Ãß°¡ÇÏ´Â ¹æ¹ý : @@À̹ÌÁöÀ̸§@@
ex) @@foo.gif@@
88 ¹ø ±Û: [C] microtime ±¸Çö
±Û¾´ÀÌ: »êÀÌ [ȨÆäÀÌÁö] ±Û¾´³¯: 2004³â 04¿ù 27ÀÏ 22:55:07 È­(Àú³á) Á¶È¸: 3382
/*
 * san2(at)linuxchannel.net
 */

#include <stdio.h>
#include <sys/time.h>

double microtime(void);

#define NUL  '\0'
#define MICRO_IN_SEC 1000000.00
#define SEC_IN_MIN 60

int main()
{
  double s, e;

  s = microtime();
  e = microtime();

  printf("%.8f\n",s);
  printf("%.8f\n",e);

  printf("%.8f\n",(e-s));

  return;
}

double microtime(void)
{
  struct timeval tp;
  long sec = 0L;
  double msec = 0.0;
  double tsec = 0.0;

  if (gettimeofday((struct timeval *) &tp, (NUL)) == 0)
  {
        msec = (double) (tp.tv_usec / MICRO_IN_SEC);
        sec = tp.tv_sec;

        if (msec >= 1.0) msec -= (long) msec;
        tsec = msec + sec;
  }

  return tsec;
}

 
ÀÌÀü±Û : [Apache] log_request_duration.patch
´ÙÀ½±Û : Re: apache-2.0.x -- %D  
 from 61.254.75.122
JS(Redhands)Board 0.4 +@

|±Û¾²±â| |´äÀå¾²±â| |¼öÁ¤|
|ÀÌÀü±Û| |´ÙÀ½±Û| |¸ñ·Ïº¸±â|
Àμâ¿ë 

apache lighttpd linuxchannel.net 
Copyright 1997-2024. linuxchannel.net. All rights reserved.

Page loading: 0.01(server) + (network) + (browser) seconds