root/src/VM/cil/cilVMDebugInfo.cpp
| Revision 138, 1.6 kB (checked in by hak, 2 years ago) |
|---|
| Line | |
|---|---|
| 1 | /**************************************************************************** |
| 2 | * |
| 3 | * CRI Middleware SDK |
| 4 | * |
| 5 | * Copyright (c) 2008 CRI Middleware, Inc. All rights reserved. |
| 6 | * |
| 7 | * Use, modification and distribution are subject to the CRI Script Software |
| 8 | * License, Version 1.0(see accompanying file "CriScript_License_1_0.txt" or |
| 9 | * copy at www.criscript.com/trac/wiki/CRI%20Script%20Software%20License%201.0 ). |
| 10 | * |
| 11 | * |
| 12 | * Library : CRIScript |
| 13 | * Module : cil Virtual Machine |
| 14 | * File : CCilVmDebugInfo.cpp |
| 15 | * Date : |
| 16 | * Version : |
| 17 | * |
| 18 | ****************************************************************************/ |
| 19 | |
| 20 | /*************************************************************************** |
| 21 | * Include file |
| 22 | ***************************************************************************/ |
| 23 | #include "stdafx.h" |
| 24 | #include "criScript.h" |
| 25 | #include "cilVm.h" |
| 26 | namespace cri { |
| 27 | /*************************************************************************** |
| 28 | * Variables |
| 29 | ***************************************************************************/ |
| 30 | |
| 31 | /*************************************************************************** |
| 32 | * Methods |
| 33 | ***************************************************************************/ |
| 34 | /*************************************************************************** |
| 35 | * Debug function - dump statistics |
| 36 | ***************************************************************************/ |
| 37 | void CCilVm::debugDumpStats( void ) |
| 38 | { |
| 39 | cout << m_iTickCount << " inctructions executed\n"; |
| 40 | cout << m_stopwatch.getResult() << " msec.\n"; |
| 41 | } |
| 42 | |
| 43 | } //namespace CRI |
Note: See TracBrowser for help on using the browser.
