Lines Matching defs:pdhStat
160 pdh_fail(PDH_STATUS pdhStat) {
161 return pdhStat != ERROR_SUCCESS && pdhStat != PDH_MORE_DATA;
483 PDH_STATUS pdhStat;
507 pdhStat = PdhEnumObjectItems_i (
517 if (pdh_fail(pdhStat)) {
518 /* printf("could not enumerate processors (1) error=%d", pdhStat); */
531 pdhStat = PdhEnumObjectItems_i (
542 if (pdh_fail(pdhStat)) {
543 /* printf("could not enumerate processors (2) error=%d", pdhStat); */
635 PDH_STATUS pdhStat;
658 pdhStat = PdhEnumObjectItems_i (
670 if (pdh_fail(pdhStat)) {
671 /* printf("Could not enumerate processes (1) error=%d", pdhStat); */
684 pdhStat = PdhEnumObjectItems_i (
696 if (pdh_fail(pdhStat)) {
697 /* printf("Could not enumerate processes (2) error=%d", pdhStat); */