以上就是本篇文章【iPhone性能测试工具GT (腾讯)手机性能测试「iPhone性能测试工具GT (腾讯)」】的全部内容了,欢迎阅览 ! 文章地址:http://www78564.xrbh.cn/quote/30437.html
动态
相关文章
文章
同类文章
热门文章
栏目首页
网站地图
返回首页 迅博思语移动站 http://www78564.xrbh.cn/mobile/ , 查看更多
iPhone性能测试工具GT (腾讯)手机性能测试「iPhone性能测试工具GT (腾讯)」
2025-01-12 10:21
//
// GTParaInApi.h
// GTKit
//
// Created on 13-2-21.
// Copyright ©[Insert Year of First Publication] - 2014 Tencent.All Rights Reserved. This software is licensed under the terms in the LICENSE.TXT file that accompanies this software.
//
#ifdef __OBJC__
#import "GTParaInApiForOC.h"
#endif
#ifdef GT_DEBUG_DISABLE
//------------------------ DISABLE GT BEGIN ----------------------------
#define GT_IN_REGISTER(key,alias,value)
#define GT_IN_REGISTER_ARRAY(key,alias,value, n)
#define GT_IN_SET(key, writeToLog, value)
#define GT_IN_GET_BOOL(key, writeToLog, value)
#define GT_IN_GET_INT(key, writeToLog, value)
#define GT_IN_GET_DOUBLE(key, writeToLog, value)
#define GT_IN_GET_FLOAT(key, writeToLog, value)
#define GT_IN_GET_STR(key, writeToLog, value)
#define GT_IN_DEFAULT_ON_AC(key1,key2,key3)
#define GT_IN_DEFAULT_ON_DISABLED(...)
#define GT_IN_DEFAULT_ALL_ON_DISABLED
//------------------------ DISABLE GT END ------------------------------
#else
#include <stdbool.h>
//------------------------ FOR C Language BEGIN ------------------------
#define GT_IN_REGISTER(key,alias,...) func_addInputForString(key,alias,__VA_ARGS__)
extern void func_addInputForString(const char *key, const char *alias, const char *format,...);
#define GT_IN_REGISTER_ARRAY(key,alias,a,n) func_addInputForArrayStr(key,alias,a, n)
extern void func_addInputForArrayStr(const char *key, const char *alias, char* a[], int n);
#define GT_IN_SET(key, writeToLog, ...) func_setInputForString(key, writeToLog, __VA_ARGS__)
extern void func_setInputForString(const char *key, bool writeToLog, const char * format,...);
#define GT_IN_GET_BOOL(key, writeToLog, value) func_getInputForBool(key, writeToLog, value)
extern bool func_getInputForBool(const char *key, bool writeToLog, bool value);
#define GT_IN_GET_INT(key, writeToLog, value) func_getInputForInt(key, writeToLog, value)
extern int func_getInputForInt(const char *key, bool writeToLog, int value);
#define GT_IN_GET_DOUBLE(key, writeToLog, value) func_getInputForDouble(key, writeToLog, value)
extern double func_getInputForDouble(const char *key, bool writeToLog, double value);
#define GT_IN_GET_FLOAT(key, writeToLog, value) func_getInputForFloat(key, writeToLog, value)
extern float func_getInputForFloat(const char *key, bool writeToLog, float value);
#define GT_IN_GET_STR(key, writeToLog, value) func_getInputForString(key, writeToLog, value)