OSDN Git Service

3.65sp1リリースのための修正
[nucleus-jp/nucleus-jp-ancient.git] / benchmark.inc
1 <?php\r
2 \r
3 /*\r
4  * Nucleus: PHP/MySQL Weblog CMS (http://nucleuscms.org/)\r
5  * Copyright (C) 2002-2013 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 if (!function_exists('getmtime'))\r
15 {\r
16     function getmtime()\r
17     {\r
18         $a = explode (' ',microtime());\r
19         return(double) $a[0] + $a[1];\r
20     }\r
21 }\r
22 \r
23 // For benchmarking\r
24 global $StartTime;\r
25 $StartTime = getmtime();\r
26 ?>\r