½ÃÀÛÆäÀÌÁö·Î Áñ°Üã±âÃß°¡
·Î±×ÀÎ
ȸ¿ø°¡ÀÔ l Ã⼮üũ l ¸¶ÀÌÆäÀÌÁö l CGIMALL
ÀÚ·á½Ç »çÀÌÆ®µî·Ï ·©Å·100 ÇÁ·Î±×·¥¸®ºä °ü¸®ÀÚÃßõÀÚ·á Ãʺ¸°¡À̵å
Ä¿¹Â´ÏƼ
Àüü ÆîÃ帱â
Äü¸Þ´º¸µÅ© jquery , CSS , PHP , Javascript , ¹«·áÆùÆ® , ASP
»ó¼¼°Ë»ö
Ȩ > Ä¿¹Â´ÏƼ > °ñµåÆÁ »ó¼¼º¸±â
Ä¿¹Â´ÏƼ ±¸Àα¸Á÷
»çÀÌÆ®µî·Ï
Ŭ¶ó¿ìµåű×
Javascript
PHP
ASP
CSS
HTML
MYSQL
jquery
image
Mobile
API
slide
°Ô½ÃÆÇ
¸Þ´º
ÇöÀçÁ¢¼ÓÀÚ ¸í »õ·Î°íħ
°Ô½ÃÆÇŸÀÌƲ °ñµåÆÁ / »ó¼¼º¸±â
Æ®À§ÅÍ·Î º¸³»±â
Ãßõ¼ö 741 | Á¶È¸¼ö 9,726 | µî·ÏÀÏ 2005-05-18 11:54:13

´Ð³×ÀÓ

HappyCGI

Á¦¸ñ

[perl] ±¸µ¿µÇ´Â ÇÁ·Î±×·¥ÀÇ ½ÇÁ¦¼Óµµ ÃøÁ¤Çϱâ
³»¿ë

ÇØÇÇCGI ÀÔ´Ï´Ù.

°Ô½ÃÆÇÀ» °³¹ßÇϸ鼭 Á»´õ ºü¸¥ °Ô½ÃÆÇÀ» °³¹ßÇϱâ À§ÇØ ´Ù¾çÇÑ ¼ÓµµÃøÁ¤¹æ¹ýÀ» ½áºÃ´Âµ¥

¿ª½Ã ¸ðµâÀ» ¾²´Â ¹æ¹ýÀÌ Á¦ÀÏ ÆíÇÏ´õ±º¿ä ^^


[ÇÁ·Î±×·¥ÄÚµå]

#!/usr/bin/perl
use Time::HiRes qw(usleep ualarm gettimeofday tv_interval);
$StartTime = [gettimeofday];
#ÇÁ·Î±×·¥Äڵ尡 µé¾î°¡°í
print sprintf("%8.3f\n", tv_interval($StartTime));



À§ Äڵ带 ¾²½Ç·Á¸é Time::HiRes  ¸ðµâÀÌ ÀÖ¾î¾ß ÇÕ´Ï´Ù.
¼­¹ö·çÆ®¶ó¸é ¾Æ·¡Ã³·³ ¼³Ä¡¸¦ ÇÏ¸é µÇ°Ú½À´Ï´Ù.


[ÇÁ·Î±×·¥ÄÚµå]
ÅÚ³Ý>perl -MCPAN -e shell [¿£ÅÍ]
CPAN>install Time::HiRes [¿£ÅÍ]



ÁÁÀº ÇÏ·çµÇ¼¼¿ä.

 


 

Ãßõ½ºÅ©·¦¼Ò½ºº¸±â ¸ñ·Ï
ÀÌÀü°Ô½Ã±Û [perl] ÇöÀç ±¸µ¿µÇ´Â ÆÄÀÏ¸í ±¸Çϱâ 2005-05-16 16:42:00
´ÙÀ½°Ô½Ã±Û [html] °¡´Â Å×ÀÌºí ¸¸µé±â 2005-11-17 13:55:28