27 Mart 2025'ten itibaren AOSP'yi derlemek ve AOSP'ye katkıda bulunmak için aosp-main
yerine android-latest-release
kullanmanızı öneririz. Daha fazla bilgi için AOSP'de yapılan değişiklikler başlıklı makaleyi inceleyin.
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
cpu_usage_t Yapı Referansı
#include <
thermal.h
>
Tanımı,
thermal.h
dosyasının
110
satırındadır.
Son başlatma işleminden bu yana geçen etkin süre (milisaniye cinsinden).
Tanımı,
thermal.h
dosyasının
120
satırı
Bir çekirdek çevrimiçi olduğunda doğru olarak ayarlanır. Çekirdek çevrimdışıysa |name| dışındaki diğer tüm üyeler yoksayılmalıdır.
Tanımı,
thermal.h
dosyasının
131
satırı
Bu CPU'nun adı. Tüm CPU'ların farklı bir "adı" olmalıdır.
Tanımı,
thermal.h
dosyasının
115. satırı
içindedir.
Son başlatma işleminden bu yana geçen toplam süre (milisaniye cinsinden).
Tanımı,
thermal.h
dosyasının
125. satırı
içindedir.
Bu yapının dokümanları aşağıdaki dosyadan oluşturulmuştur:
-
hardware/libhardware/include/hardware/
thermal.h
Bu sayfadaki içerik ve kod örnekleri, İçerik Lisansı sayfasında açıklanan lisanslara tabidir. Java ve OpenJDK, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-27 UTC.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 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)"]]