浏览代码

+ forgotten file

git-svn-id: trunk@43879 -
florian 5 年之前
父节点
当前提交
404c6e0c15
共有 2 个文件被更改,包括 31 次插入0 次删除
  1. 1 0
      .gitattributes
  2. 30 0
      compiler/cepiktimer.pas

+ 1 - 0
.gitattributes

@@ -148,6 +148,7 @@ compiler/browcol.pas svneol=native#text/plain
 compiler/catch.pas svneol=native#text/plain
 compiler/ccharset.pas svneol=native#text/plain
 compiler/cclasses.pas svneol=native#text/plain
+compiler/cepiktimer.pas svneol=native#text/pascal
 compiler/cfidwarf.pas svneol=native#text/plain
 compiler/cfileutl.pas svneol=native#text/plain
 compiler/cg64f32.pas svneol=native#text/plain

+ 30 - 0
compiler/cepiktimer.pas

@@ -0,0 +1,30 @@
+{
+    Copyright (c) 2018 by Florian Klaempfl
+
+    Basic infrastructure for measuring timings of different compilation steps
+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 2 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program; if not, write to the Free Software
+    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+ ****************************************************************************
+}
+
+{$macro on}
+{ "fix" the unit name }
+{$define epiktimer:=cepiktimer}
+{ do not depend on the classes unit }
+{$DEFINE NOCLASSES}
+{ include the original file }
+{$i ../../epiktimer/epiktimer.pas}
+