⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 counters.mal

📁 一个内存数据库的源代码这是服务器端还有客户端
💻 MAL
字号:
#line 59 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/counters.mx"module counters;command start(event0:int, event1:int) :intaddress CNTRSstart comment "Start counters for two events specified by number. Return its handle";command reset(idx:int, event0:int, event1:int) :intaddress CNTRSreset comment "Reset a counter for two events specified by number. Return its handle";command stop(c:int) :voidaddress CNTRSstop comment "Stop the counting for the handle identified";command bat(c:int) :bat[:str,:lng] address CNTRScounter2batcomment "Store the retrieved results in a BAT";command str(c:int) :straddress CNTRScounter2strcomment "Store the retrieved results in a str";command nativeEvents() :bat[:int,:str] address CNTRSnativeEventscomment "All available events";command unifiedEvents() :bat[:int,:str] address CNTRSunifiedEventscomment "All unified event names";command eventNumber(s:str):intaddress CNTRSeventNumbercomment "Return the number of an event given by name ";command eventName(s:int):straddress CNTRSeventNamecomment "Return the name of an event ";command init() address CNTRSinitcomment "Initialize counters module (to be used on initial load, only)";counters.init();

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -