HandleProfiling
public
final
class
HandleProfiling
extends ChunkHandler
| java.lang.Object | |||
| ↳ | com.android.tradefed.device.server.jdwp.JdwpInterceptor | ||
| ↳ | com.android.tradefed.device.server.jdwp.chunkhandler.ChunkHandler | ||
| ↳ | com.android.tradefed.device.server.jdwp.chunkhandler.HandleProfiling | ||
Yığın durumu güncellemelerini işleme
Özet
Fields'ın oynadığı filmler | |
|---|---|
public
static
final
int |
CHUNK_FAIL
|
public
static
final
int |
CHUNK_MPRE
|
public
static
final
int |
CHUNK_MPRQ
|
public
static
final
int |
CHUNK_MPRS
|
public
static
final
int |
CHUNK_MPSE
|
public
static
final
int |
CHUNK_MPSS
|
public
static
final
int |
CHUNK_SPSE
|
public
static
final
int |
CHUNK_SPSS
|
Herkese açık yöntemler | |
|---|---|
void
|
clientDisconnected(ClientImpl client)
İstemci uzaklaştı. |
void
|
clientReady(ClientImpl client)
İstemci hazır. |
void
|
handleChunk(ClientImpl client, int type, ByteBuffer data, boolean isReply, int msgId)
Parça işleyici giriş noktası. |
static
void
|
register(MonitorThread mt)
İstemciden almayı beklediğimiz paketler için kaydolun. |
static
void
|
sendMPRE(ClientImpl client)
İstemciye bir MPRE (Method PRofiling End) isteği gönderin. |
static
void
|
sendMPRQ(ClientImpl client)
İstemciye bir MPRQ (Yöntem Profil Oluşturma Sorgusu) isteği gönderin. |
static
void
|
sendMPRS(ClientImpl client, String fileName, int bufferSize, int flags)
İstemciye bir MPRS (Method PRofiling Start) isteği gönderin. |
static
void
|
sendMPSE(ClientImpl client)
İstemciye bir MPSE (Method Profiling Streaming End) isteği gönderin. |
static
void
|
sendMPSS(ClientImpl client, int bufferSize, int flags)
İstemciye bir MPSS (Method Profiling Streaming Start) isteği gönderin. |
static
void
|
sendSPSE(ClientImpl client)
İstemciye bir SPSE (Sampling Profiling Streaming End) isteği gönderin. |
static
void
|
sendSPSS(ClientImpl client, int bufferSize, int samplingInterval, TimeUnit samplingIntervalTimeUnits)
İstemciye bir SPSS (Sampling Profiling Streaming Start) isteği gönderin. |
Fields'ın oynadığı filmler
CHUNK_FAIL
public static final int CHUNK_FAIL
CHUNK_MPRE
public static final int CHUNK_MPRE
CHUNK_MPRQ
public static final int CHUNK_MPRQ
CHUNK_MPRS
public static final int CHUNK_MPRS
CHUNK_MPSE
public static final int CHUNK_MPSE
CHUNK_MPSS
public static final int CHUNK_MPSS
CHUNK_SPSE
public static final int CHUNK_SPSE
CHUNK_SPSS
public static final int CHUNK_SPSS
Herkese açık yöntemler
clientDisconnected
public void clientDisconnected (ClientImpl client)
İstemci uzaklaştı.
| Parametreler | |
|---|---|
client |
ClientImpl |
clientReady
public void clientReady (ClientImpl client)
İstemci hazır.
| Parametreler | |
|---|---|
client |
ClientImpl |
handleChunk
public void handleChunk (ClientImpl client, int type, ByteBuffer data, boolean isReply, int msgId)
Parça işleyici giriş noktası.
| Parametreler | |
|---|---|
client |
ClientImpl |
type |
int |
data |
ByteBuffer |
isReply |
boolean |
msgId |
int |
kayıt
public static void register (MonitorThread mt)
İstemciden almayı beklediğimiz paketler için kaydolun.
| Parametreler | |
|---|---|
mt |
MonitorThread |
sendMPRE
public static void sendMPRE (ClientImpl client)
İstemciye bir MPRE (Method PRofiling End) isteği gönderin.
| Parametreler | |
|---|---|
client |
ClientImpl |
sendMPRQ
public static void sendMPRQ (ClientImpl client)
İstemciye bir MPRQ (Yöntem Profil Oluşturma Sorgusu) isteği gönderin.
| Parametreler | |
|---|---|
client |
ClientImpl |
sendMPRS
public static void sendMPRS (ClientImpl client, String fileName, int bufferSize, int flags)
İstemciye bir MPRS (Method PRofiling Start) isteği gönderin.
Bu yöntemin bağımsız değişkenleri, cihazda android.os.Debug.startMethodTracing() yöntemine iletilir.
| Parametreler | |
|---|---|
client |
ClientImpl |
fileName |
String: Profil oluşturma verilerinin yazılacağı dosyanın (cihazda) adıdır. |
bufferSize |
int: Bayt cinsinden istenen arabellek boyutudur (8 MB iyi bir boyuttur). |
flags |
int: startMethodTracing() belgelerine bakın; varsayılan davranış için 0'ı kullanın. |
sendMPSE
public static void sendMPSE (ClientImpl client)
İstemciye bir MPSE (Method Profiling Streaming End) isteği gönderin.
| Parametreler | |
|---|---|
client |
ClientImpl |
sendMPSS
public static void sendMPSS (ClientImpl client, int bufferSize, int flags)
İstemciye bir MPSS (Method Profiling Streaming Start) isteği gönderin.
Bu yöntemin bağımsız değişkenleri, cihazda android.os.Debug.startMethodTracing() yöntemine iletilir.
| Parametreler | |
|---|---|
client |
ClientImpl |
bufferSize |
int: Bayt cinsinden istenen arabellek boyutudur (8 MB iyi bir boyuttur). |
flags |
int: startMethodTracing() belgelerine bakın; varsayılan davranış için 0'ı kullanın. |
sendSPSE
public static void sendSPSE (ClientImpl client)
İstemciye bir SPSE (Sampling Profiling Streaming End) isteği gönderin.
| Parametreler | |
|---|---|
client |
ClientImpl |
sendSPSS
public static void sendSPSS (ClientImpl client, int bufferSize, int samplingInterval, TimeUnit samplingIntervalTimeUnits)
İstemciye bir SPSS (Sampling Profiling Streaming Start) isteği gönderin.
| Parametreler | |
|---|---|
client |
ClientImpl |
bufferSize |
int: Bayt cinsinden istenen arabellek boyutudur (8 MB iyi bir boyuttur). |
samplingInterval |
int: örnekleme aralığı |
samplingIntervalTimeUnits |
TimeUnit: örnekleme aralığı birimleri |