打开微信,使用扫一扫进入页面后,点击右上角菜单,
点击“发送给朋友”或“分享到朋友圈”完成分享
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | #include #include int main() { // init libcndev cndevRet_t ret = cndevInit(0); // you can compare cndevRet manually, or just use cndevCheckErrors if (CNDEV_SUCCESS != ret) { printf ( "cndev init failed: %s.\n" , cndevGetErrorString(ret)); // should exit now exit (0); } cndevDevice_t devHandle; ret = cndevGetDeviceHandleByIndex(0, &devHandle); cndevCheckErrors(ret); while (1) { // get card[x]'s process utilization // in most cases, the number of processes running on a card will not exceed 10 |
热门帖子
精华帖子