TSG-23386 SCE移除FieldStat2,为适配AArch64做准备
This commit is contained in:
@@ -7,7 +7,7 @@ extern "C"
|
||||
#endif
|
||||
|
||||
#include "utils.h"
|
||||
#include <MESA/field_stat2.h>
|
||||
#include <fieldstat/fieldstat_easy.h>
|
||||
|
||||
struct throughput_metrics
|
||||
{
|
||||
@@ -92,13 +92,7 @@ struct thread_metrics
|
||||
struct metrics_config
|
||||
{
|
||||
char output_file[256];
|
||||
char statsd_server[32];
|
||||
int statsd_port;
|
||||
int statsd_format;
|
||||
int statsd_cycle;
|
||||
|
||||
int prometheus_listen_port;
|
||||
char prometheus_listen_url[256];
|
||||
};
|
||||
|
||||
struct global_metrics
|
||||
@@ -106,7 +100,7 @@ struct global_metrics
|
||||
struct thread_metrics sum;
|
||||
|
||||
struct metrics_config config;
|
||||
screen_stat_handle_t fs_handle;
|
||||
struct fieldstat_easy *fs_handle;
|
||||
int fs_id[128];
|
||||
|
||||
int thread_num;
|
||||
@@ -116,8 +110,8 @@ struct global_metrics
|
||||
|
||||
struct global_metrics *global_metrics_create(const char *profile, int thread_num);
|
||||
void global_metrics_destory(struct global_metrics *global_metrics);
|
||||
void global_metrics_update(struct global_metrics *global_metrics, struct thread_metrics *thread_metrics, int thread_id);
|
||||
void global_metrics_dump(struct global_metrics *global_metrics);
|
||||
void global_metrics_sync(struct global_metrics *global_metrics, struct thread_metrics *thread_metrics, int thread_id);
|
||||
void global_metrics_flush(struct global_metrics *global_metrics);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user