Google

Go to the first, previous, next, last section, table of contents.


cputime, tstart, tstop

cputime(onoff)
:: °ú¿ô¤¬ 0 ¤Ê¤é¤Ð cputime ¤Îɽ¼¨¤ò»ß¤á¤ë. ¤½¤ì°Ê³°¤Ê¤é¤Ðɽ¼¨¤ò¹Ô¤¦.
tstart()
:: CPU time ·×¬³«»Ï.
tstop()
:: CPU time ·×¬½ªÎ»¤ª¤è¤Óɽ¼¨.
return
0
onoff
¥Õ¥é¥° (Ǥ°Õ)
  • cputime() ¤Ï, °ú¿ô¤¬ 0 ¤Ê¤é¤Ð CPU time ¤Îɽ¼¨¤ò»ß¤á¤ë. ¤½¤ì°Ê³°¤Ê¤é¤Ðɽ¼¨¤ò¹Ô¤¦.
  • tsart ¤Ï°ú¿ô¤Ê¤·, `()' ¤Ê¤·¤Ç, CPU time ·×¬¤ò³«»Ï¤¹¤ë.
  • tstop ¤Ï°ú¿ô¤Ê¤·, `()' ¤Ê¤·¤Ç, CPU time ·×¬¤ò½ªÎ», ¤ª¤è¤Óɽ¼¨¤¹¤ë.
  • cputime(onoff) ¤Ï ctrl("cputime",onoff) ¤ÈƱ¤¸¤Ç¤¢¤ë.
  • tstart, tstop ¤Ï, Æþ¤ì»Ò¤Ë¤·¤Æ»È¤ï¤ì¤ë¤³¤È¤ÏÁÛÄꤷ¤Æ¤¤¤Ê¤¤ ¤¿¤á, ¤½¤Î¤è¤¦¤Ê²ÄǽÀ­¤¬¤¢¤ë¾ì¹ç¤Ë¤Ï, time() ¤Ë¤è¤ë·×¬¤ò¹Ô¤¦ ɬÍפ¬¤¢¤ë.
  • cputime() ¤Ë¤è¤ë on, off ¤Ï, ñ¤Ëɽ¼¨¤Î on, off ¤Ç¤¢¤ê, ¥È¥Ã¥×¥ì¥Ù¥ë ¤Î°ì¤Ä¤Îʸ¤ËÂФ¹¤ë·×¬¤Ï¾ï¤Ë¹Ô¤ï¤ì¤Æ¤¤¤ë. ¤è¤Ã¤Æ, ·×»»¤ò»Ï¤á¤Æ¤«¤é¤Ç¤â, ·×»»½ªÎ»Á°¤Ë¥Ç¥Ð¥Ã¥¬¤ËÆþ¤Ã¤Æ cputime(1) ¤ò¼Â¹Ô¤µ¤»¤ì¤Ð·×»»»þ´Ö¤Ï ɽ¼¨¤µ¤ì¤ë.
[49] tstart$
[50] fctr(x^10-y^10);
[[1,1],[x+y,1],[x^4-y*x^3+y^2*x^2-y^3*x+y^4,1],[x-y,1],
[x^4+y*x^3+y^2*x^2+y^3*x+y^4,1]]
[51] tstop$
80msec + gc : 40msec
»²¾È
section time, section ctrl.


Go to the first, previous, next, last section, table of contents.