हमारा सुझाव है कि 27 मार्च, 2025 से AOSP को बनाने और उसमें योगदान देने के लिए, aosp-main
के बजाय android-latest-release
का इस्तेमाल करें. ज़्यादा जानकारी के लिए, AOSP में हुए बदलाव लेख पढ़ें.
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
cpu_usage_t स्ट्रक्चर का रेफ़रंस
#include <
thermal.h
>
परिभाषा,
thermal.h
फ़ाइल की लाइन
110
पर दी गई है.
पिछले बूट के बाद से, चालू रहने का समय मिलीसेकंड में.
thermal.h
फ़ाइल की लाइन
120
पर परिभाषा.
जब कोई कोर ऑनलाइन होता है, तब इसे 'सही है' पर सेट किया जाता है. अगर कोर ऑफ़लाइन है, तो |name| को छोड़कर अन्य सभी सदस्यों को अनदेखा किया जाना चाहिए.
thermal.h
फ़ाइल की लाइन
131
पर परिभाषा.
इस सीपीयू का नाम. सभी सीपीयू का "name" अलग-अलग होना चाहिए.
thermal.h
फ़ाइल की लाइन
115
पर दी गई परिभाषा
.
पिछली बार बूट होने के बाद से, कुल समय (मिलीसेकंड में).
thermal.h
फ़ाइल की पंक्ति
125
पर परिभाषा.
इस स्ट्रक्चर का दस्तावेज़, इस फ़ाइल से जनरेट किया गया था:
-
hardware/libhardware/include/hardware/
thermal.h
इस पेज पर मौजूद कॉन्टेंट और कोड सैंपल कॉन्टेंट के लाइसेंस में बताए गए लाइसेंस के हिसाब से हैं. Java और OpenJDK, Oracle और/या इससे जुड़ी हुई कंपनियों के ट्रेडमार्क या रजिस्टर किए हुए ट्रेडमार्क हैं.
आखिरी बार 2025-07-27 (UTC) को अपडेट किया गया.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-07-27 (UTC) को अपडेट किया गया."],[],[],null,["# Android Hardware Abstraction Layer: cpu_usage_t Struct Reference\n\ncpu_usage_t Struct Reference\n============================\n\n[Data Fields](#pub-attribs) \ncpu_usage_t Struct Reference \n\n`\n#include \u003c\n`[thermal.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/thermal.h)`\n\u003e\n`\n\n|---------------|-----------------------------------------------------------------------------------|\n| Data Fields ----------- ||\n| const char \\* | [name](/reference/hal/structcpu__usage__t#a8f8f80d37794cde9472343e4487ba3eb) |\n| ||\n| uint64_t | [active](/reference/hal/structcpu__usage__t#a0556582acdb54560c38422879430a8c3) |\n| ||\n| uint64_t | [total](/reference/hal/structcpu__usage__t#a91271c136d08958b70aae29b0a0bbcad) |\n| ||\n| bool | [is_online](/reference/hal/structcpu__usage__t#a3ad9d087459e02e637cbc67bf4811e7a) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nDefinition at line\n[110](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/thermal.h)\nof file\n[thermal.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/thermal.h)\n.\n\nField Documentation\n-------------------\n\n\n|-----------------|\n| uint64_t active |\n\n\nActive time since the last boot in ms.\n\n\nDefinition at line\n[120](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/thermal.h)\nof file\n[thermal.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/thermal.h)\n.\n\n|----------------|\n| bool is_online |\n\n\nIs set to true when a core is online. If the core is offline, all other members except \\|name\\| should be ignored.\n\n\nDefinition at line\n[131](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/thermal.h)\nof file\n[thermal.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/thermal.h)\n.\n\n|-------------------|\n| const char\\* name |\n\n\nName of this CPU. All CPUs must have a different \"name\".\n\n\nDefinition at line\n[115](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/thermal.h)\nof file\n[thermal.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/thermal.h)\n.\n\n|----------------|\n| uint64_t total |\n\n\nTotal time since the last boot in ms.\n\n\nDefinition at line\n[125](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/thermal.h)\nof file\n[thermal.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/thermal.h)\n.\n\n*** ** * ** ***\n\nThe documentation for this struct was generated from the following file:\n\n- hardware/libhardware/include/hardware/ [thermal.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/thermal.h)"]]