该函数然后返回计数器的值。
查询用在PDH函数调用中更新它管理的计数器,因而获取性能数据。
Queries are used within PDH function calls to update the counters it manages, thereby obtaining performance data.
对于不报告计数器值的任何输出列(例如基于状态的输出),包装器直接返回底层监控表函数产生的数据,不做修改。
Any output columns that do not report counter values (for example, state based output) are returned directly from the underlying monitoring table function with no modification by the wrapper.
返回给DB2的中间结果中包含着常用的计数器(DB 2max函数需要),以及当前分组到目前为止计算出来的实际加权平均数。
The intermediate result that is returned to DB2 contains the usual counter (needed for the DB2 MAX function) and the actual weighted average that we have so far for the current group.
这个二进制串由常用的计数器(DB 2max函数进行实际聚集计算时需要)、聚集对象的标识以及分组标识构成。
This binary string is comprised of the usual counter, which is needed for the DB2 MAX function to do the actual aggregation, the identifier for the aggregate object, and the group identifier.
reduce函数将对计数器(只是一些值为1的整数)进行总计。因此,提供给我的是在目标地震文件中某一个日期出现的次数。
My reduce function will then sum up the counters (which are just integers with the value of 1), thus providing me with the number of times a date occurs in a target earthquake file.
用于换页定界的页的逻辑大体上相同,只是稍稍简单一些,因为不需要行计数器:使用getc库函数逐个读取字符。
The logic used for form-feed-delimited pages is roughly the same, but slightly simpler, as there is no need for a line counter: Read char by char using the getc library function.
在长时间监视计数器时,这尤其重要,因为PdhCollectQueryData函数返回的是运行的整个数据,而不是每秒的数据。
This is particularly important when monitoring a counter over time, since the PdhCollectQueryData function returns a running total, rather than data per second.
清单2显示了这个继承树(为了清晰起见,删除了实例计数器和构造函数代码)。
Listing 2 shows the inheritance tree (with the instance counter and constructor code removed for clarity).
实际的聚集计算是通过DB2的max函数实现的,它使用这个经过编码的计数器找到最新的中间结果。
The actual aggregation is done by DB2's MAX function, which USES the encoded counter to find the last intermediate result.
而是创建一个如下所示的函数,此函数也可以处理返回码,如果有必要,还可以增加错误计数器
you could create a function such as the following, which also handles the return code and, if needed, increases the error counter
组合计数器的最大数值是二进制计数器和反馈计数器的级数的函数。
The maximum count of a combination counter is thus a function of the number of stages of the binary and feedback counters .
因为移位计数器的设计可查已有的反馈函数表达式,所以十分容易。
The design for shift counters is quite easy, because of the obtained feedback functions may be consulted.
然后你把每个字母转换成一个数字(用内置的ord函数),用这些数字作为这个列表的索引,然后累加相应的计数器。
Then you could convert each character to a number (using the built-in function ord), use the number as an index into the list, and increment the appropriate counter.
当使用检测分析方法收集CPU计数器数据时,该数据附加到函数和模块的数据。
When you collect CPU counter data by using the instrumentation profiling method, the data is appended to the data for functions and modules.
应用程序在一个代码段的前后调用这个函数来使用高性能计数器。
By calling this function at the beginning and end of a section of code, an application essentially USES the counter as a high-resolution timer.
其实程序并没崩溃,它只是碰到一个断言语句然后停了下来,如果你看看函数的顶部,你会看到,实际上我断定计数器。
It didn't really crash, it found an assert statement. So if you look at the bottom of the function, you'll see that, in fact, I checked for that.
它存在的所有实例,并试图修改它的类的复制构造函数是毫无意义的(除非你是用它来保持某种计数器的实例)。
It exists for all instances, and to attempt to modify it in the class copy constructor makes little sense (unless you are using it to keep some kind of counter of instances).
此构造函数初始化性能计数器,并将该实例与本地计算机上的现有计数器(系统计数器或自定义计数器)关联。
This constructor initializes the performance counter and associates the instance with an existing counter (either a system or a custom counter) on the local computer.
此构造函数初始化性能计数器,并将该实例与本地计算机上的现有计数器(系统计数器或自定义计数器)关联。
This constructor initializes the performance counter and associates the instance with an existing counter (either a system or a custom counter) on the local computer.
应用推荐