3 Star 3 Fork 1

Gitee 极速下载/kbengine-unity3d-plugins

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/kbengine/kbengine_unity3d_plugins
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Profile.cs 678 Bytes
一键复制 编辑 原始数据 按行查看 历史
liquidx 提交于 11年前 . up
using System;
using System.Net.Sockets;
using System.Net;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
namespace KBEngine
{
public class Profile
{
System.DateTime startTime;
string _name = "";
public Profile(string name)
{
_name = name;
}
~Profile()
{
}
public void start()
{
startTime = System.DateTime.Now;
}
public void end()
{
System.TimeSpan time = System.DateTime.Now - startTime;
if(time.Milliseconds >= 100)
Dbg.WARNING_MSG("Profile::profile(): '" + _name + "' took " + time.Milliseconds + " ms");
}
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/mirrors/kbengine-unity3d-plugins.git
git@gitee.com:mirrors/kbengine-unity3d-plugins.git
mirrors
kbengine-unity3d-plugins
kbengine-unity3d-plugins
master

搜索帮助