OSDN Git Service

言語ファイル、及び出力部分修正(ADMIN.php, showlist.php)
[nucleus-jp/nucleus-jp-ancient.git] / utf8 / benchmark.inc
1 <?php\r
2 \r
3 /*\r
4  * Nucleus: PHP/MySQL Weblog CMS (http://nucleuscms.org/)\r
5  * Copyright (C) 2002-2009 The Nucleus Group\r
6  *\r
7  * This program is free software; you can redistribute it and/or\r
8  * modify it under the terms of the GNU General Public License\r
9  * as published by the Free Software Foundation; either version 2\r
10  * of the License, or (at your option) any later version.\r
11  * (see nucleus/documentation/index.html#license for more info)\r
12  */\r
13 \r
14 /**\r
15  * Nucleus Benchmark\r
16  * @license http://nucleuscms.org/license.txt GNU General Public License\r
17  * @copyright Copyright (C) 2002-2009 The Nucleus Group\r
18  * @version $Id$\r
19  */\r
20 \r
21 \r
22 if (!function_exists('getmtime'))\r
23 {\r
24     function getmtime()\r
25     {\r
26         $a = explode (' ',microtime());\r
27         return(double) $a[0] + $a[1];\r
28     }\r
29 }\r
30 \r
31 // For benchmarking\r
32 global $StartTime;\r
33 $StartTime = getmtime();\r
34 ?>\r