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

📄 dateprof.d

📁 Sun Solaris 10 中的 DTrace 组件的源代码。请参看: http://www.sun.com/software/solaris/observability.jsp
💻 D
字号:
syscall::exec:return,syscall::exece:return/execname == "date"/{	self->start = vtimestamp;}syscall:::entry/self->start/{	/*	 * We linearly quantize on the current virtual time minus our	 * process's start time.  We divide by 1000 to yield microseconds	 * rather than nanoseconds.  The range runs from 0 to 10 milliseconds	 * in steps of 100 microseconds; we expect that no date(1) process	 * will take longer than 10 milliseconds to complete.	 */	@["system calls over time"] =	    lquantize((vtimestamp - self->start) / 1000, 0, 10000, 100);}syscall::rexit:entry/self->start/{	self->start = 0;}

⌨️ 快捷键说明

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