Home
last modified time | relevance | path

Searched refs:sql (Results 1 – 25 of 90) sorted by relevance

1234

/developtools/smartperf_host/ide/src/trace/component/trace/base/
DCommonSql.ts18 sql:
24 sql:
30sql: 'SELECT (A.ts - B.start_ts) AS startTs,IFNULL(dur,B.end_ts - A.ts) dur,value FROM measure A,t…
34 sql:
40 sql:
47 sql:
53 sql:
59 sql:
66 sql:
75 sql:
[all …]
/developtools/smartperf_host/ide/src/trace/database/sql/
DGpu.sql.ts101 let sql = `select window_name_id as windowNameId,
109 return query('queryGpuDataByTs', sql);
114 let sql = `
121 return query('queryGpuTotalData', sql);
126 let sql = `
137 return query('queryGpuData', sql);
144 let sql = `
156 return query('queryGpuData', sql);
167 let sql = `
178 return query('queryGpuGLDataByRange', sql);
[all …]
DCpu.sql.ts30 let sql = sqlArray.join(' ');
43 where ${sql}`
194 let sql = ''; variable
196 sql = `${processSql} union ${virtualSql}`;
199 sql = processSql;
201 sql = virtualSql;
204 return query<Counter>('getTabCounters', sql, {});
539 let sql = ` variable
559 return query('searchCpuData', sql, {});
682 let sql = ` variable
[all …]
DPerf.sql.ts55 let sql = `
68 sql = `${sql} and event_type_id = ${eventTypeId}`;
75 sql = `${sql} and (${arg})`;
77 return query('queryPerfSampleListByTimeRange', sql, {
90 let sql = `
101 sql = `${sql} and (${arg})`;
103 return query('queryPerfSampleIdsByTimeRange', sql, {
DSdk.sql.ts20 export const querySdkCount = (sql: string, componentId: number, args?: unknown): Promise<Array<unkn…
21 query('querySdkCount', sql, args, 'exec-sdk-' + componentId);
24 sql: string,
28 query('querySdkCounterData', sql, { $counter_id: counter_id }, 'exec-sdk-' + componentId);
DProcessThread.sql.ts253 let sql = ` variable
265 return query<SelectionData>('getTabThreadStatesCpu', sql, {
341 let sql = `
355 return query('queryThreadWakeUpFrom', sql, {});
359 let sql = `
362 return query('queryRunnableTimeByRunning', sql, {});
409 let sql = `select
444 return query('getTabBoxChildData', sql, {});
452 let sql = ` variable
464 return query('getTabStartups', sql, {});
[all …]
/developtools/integration_verification/cases/smoke/basic/screenshot32/APL_compare_03/
Dreadme.md37 `QUERY_HAP_APL`:查询HAP APL的sql语句(查询多列可以依次添加字段,添加字段的顺序为比较时的字段优先级)
38 `QUERY_NATIVE_APL`:查Native APL的sql语句
55 ### sql语句查询
56 相关函数:`query_records(db,sql)`
57 传入参数:`db`--需要连接的数据库;`sql`:sql查询语句
60 sql语句:`QUERY_HAP_APL="select bundle_name,apl from hap_token_info_table"`
61 相关函数:`query_hap_apl(db,sql)`
62 传入参数:`db`--需要连接的数据库;`sql`:sql查询语句
65 sql语句:`QUERY_NATIVE_APL="select process_name,apl from native_token_info_table"`
66 相关函数:`query_native_apl(db,sql)`
[all …]
Dread_device.py56 def query_records(db,sql): argument
63 cursor.execute(sql)
66 apl_set_log_content(LogLevel(2).name, log_tag, '"{}" query successful!'.format(sql))
76 def query_hap_apl(db,sql): argument
77 results = query_records(db, sql)
81 def query_native_apl(db,sql): argument
82 results = query_records(db, sql)
/developtools/integration_verification/cases/smoke/basic/screenshot32/xdevice_smoke/APL_compare_03/
Dreadme.md37 `QUERY_HAP_APL`:查询HAP APL的sql语句(查询多列可以依次添加字段,添加字段的顺序为比较时的字段优先级)
38 `QUERY_NATIVE_APL`:查Native APL的sql语句
55 ### sql语句查询
56 相关函数:`query_records(db,sql)`
57 传入参数:`db`--需要连接的数据库;`sql`:sql查询语句
60 sql语句:`QUERY_HAP_APL="select bundle_name,apl from hap_token_info_table"`
61 相关函数:`query_hap_apl(db,sql)`
62 传入参数:`db`--需要连接的数据库;`sql`:sql查询语句
65 sql语句:`QUERY_NATIVE_APL="select process_name,apl from native_token_info_table"`
66 相关函数:`query_native_apl(db,sql)`
[all …]
Dread_device.py56 def query_records(db,sql): argument
63 cursor.execute(sql)
66 apl_set_log_content(LogLevel(2).name, log_tag, '"{}" query successful!'.format(sql))
76 def query_hap_apl(db,sql): argument
77 results = query_records(db, sql)
81 def query_native_apl(db,sql): argument
82 results = query_records(db, sql)
/developtools/smartperf_host/ide/src/trace/database/data-trafic/
DEBPFReceiver.ts163 let sql: string;
167 sql = fileSystemDataGroupBy10MSProtoSql(data.params);
170 sql = fileSystemDataProtoSql(data.params);
172 let res = proc(sql);
177 let sql: string;
181 sql = diskIoDataGroupBy10MSProtoSql(data.params);
184 sql = diskIoDataProtoSql(data.params);
186 let res = proc(sql);
191 let sql: string;
195 sql = eBPFVmDataGroupBy10MSProtoSql(data.params);
[all …]
DAbilityMonitorReceiver.ts267 let sql = cpuAbilityMonitorDataProtoSql(data.params);
268 let res = proc(sql);
284 let sql = cpuAbilityUserDataProtoSql(data.params);
285 let res = proc(sql);
301 let sql = cpuAbilitySystemDataProtoSql(data.params);
302 let res = proc(sql);
323 let sql = abilityMemoryDataProtoSql(data.params);
324 let res = proc(sql);
340 let sql = abilityBytesReadDataProtoSql(data.params);
341 let res = proc(sql);
[all …]
DFrameJanksReceiver.ts59 let sql = setFrameJanksSql(args, timeLimit, flag, fsType, fsFlag);
60 return sql;
115 let sql = frameJankDataSql(data.params, 'ExepectMemory');
116 processFrameList.set('FrameTimeLine_expected', proc(sql));
121 let sql = frameJankDataSql(data.params, 'ExpectedData');
122 let res = proc(sql);
133 let sql = frameJankDataSql(data.params, 'ActualMemoryData');
134 processFrameList.set('FrameTimeLine_actual', proc(sql));
139 let sql = frameJankDataSql(data.params, 'ActualData');
140 let res = proc(sql);
/developtools/smartperf_host/trace_streamer/sdk/demo_sdk/trace_streamer/
Dtrace_streamer_selector.cpp79 int32_t TraceStreamerSelector::OperateDatabase(const std::string &sql) in OperateDatabase() argument
81 return traceDataCache_->DemoOperateDatabase(sql); in OperateDatabase()
83 int32_t TraceStreamerSelector::SearchDatabase(const std::string &sql, DemoTraceDataDB::ResultCallBa… in SearchDatabase() argument
85 return traceDataCache_->DemoSearchDatabase(sql, resultCallBack); in SearchDatabase()
87 int32_t TraceStreamerSelector::SearchDatabase(const std::string &sql, uint8_t *out, int32_t outLen) in SearchDatabase() argument
89 return traceDataCache_->DemoSearchDatabase(sql, out, outLen); in SearchDatabase()
Dtrace_streamer_selector.h36 int32_t OperateDatabase(const std::string &sql);
37 int32_t SearchDatabase(const std::string &sql, DemoTraceDataDB::ResultCallBack resultCallBack);
38 int32_t SearchDatabase(const std::string &sql, uint8_t *out, int32_t outLen);
/developtools/smartperf_host/trace_streamer/sdk/demo_sdk/trace_data/
Ddemo_trace_data_db.cpp137 void DemoTraceDataDB::DemoExecuteSql(const std::string_view &sql) in DemoExecuteSql() argument
140 …int32_t ret = sqlite3_prepare_v2(demoDb_, sql.data(), static_cast<int32_t>(sql.size()), &demoStmt,… in DemoExecuteSql()
199 int32_t DemoTraceDataDB::DemoSearchDatabase(const std::string &sql, bool print) in DemoSearchDatabase() argument
204 …int32_t ret = sqlite3_prepare_v2(demoDb_, sql.c_str(), static_cast<int32_t>(sql.size()), &demoStmt… in DemoSearchDatabase()
206 TS_LOGE("sqlite3_prepare_v2(%s) failed: %d:%s", sql.c_str(), ret, sqlite3_errmsg(demoDb_)); in DemoSearchDatabase()
211 TS_LOGI("sqlite3_column_count(%s) no column", sql.c_str()); in DemoSearchDatabase()
246 int32_t DemoTraceDataDB::DemoOperateDatabase(const std::string &sql) in DemoOperateDatabase() argument
250 int32_t ret = sqlite3_exec(demoDb_, sql.c_str(), NULL, NULL, &errMsg); in DemoOperateDatabase()
252 TS_LOGE("sqlite3_exec(%s) failed: %d:%s", sql.c_str(), ret, errMsg); in DemoOperateDatabase()
258 int32_t DemoTraceDataDB::DemoSearchDatabase(const std::string &sql, ResultCallBack resultCallBack) in DemoSearchDatabase() argument
[all …]
Ddemo_trace_data_db.h40 int32_t DemoOperateDatabase(const std::string &sql);
52 int32_t DemoSearchDatabase(const std::string &sql, ResultCallBack resultCallBack);
53 int32_t DemoSearchDatabase(const std::string &sql, uint8_t *out, int32_t outLen);
66 void DemoExecuteSql(const std::string_view &sql);
68 int32_t DemoSearchDatabase(const std::string &sql, bool print);
/developtools/smartperf_host/trace_streamer/src/trace_data/
Dtrace_data_db.cpp268 void TraceDataDB::ExecuteSql(const std::string_view &sql) in ExecuteSql() argument
271 …int32_t ret = sqlite3_prepare_v2(db_, sql.data(), static_cast<int32_t>(sql.size()), &stmt, nullptr… in ExecuteSql()
357 int32_t TraceDataDB::SearchDatabase(std::string &sql, bool print) in SearchDatabase() argument
362 …int32_t ret = sqlite3_prepare_v2(db_, sql.c_str(), static_cast<int32_t>(sql.size()), &stmt, nullpt… in SearchDatabase()
363 printf("Executing sql: %s\n", sql.c_str()); in SearchDatabase()
365 TS_LOGE("sqlite3_prepare_v2(%s) failed: %d:%s", sql.c_str(), ret, sqlite3_errmsg(db_)); in SearchDatabase()
402 int32_t TraceDataDB::OperateDatabase(const std::string &sql) in OperateDatabase() argument
406 int32_t ret = sqlite3_exec(db_, sql.c_str(), NULL, NULL, &errmsg); in OperateDatabase()
408 TS_LOGE("sqlite3_exec(%s) failed: %d:%s", sql.c_str(), ret, errmsg); in OperateDatabase()
422 std::string sql(sqlItor, data.end()); in SearchDatabaseToProto() local
[all …]
Dtrace_data_db.h58 int32_t OperateDatabase(const std::string &sql);
59 int32_t SearchDatabase(const std::string &sql, ResultCallBack resultCallBack);
60 int32_t SearchDatabase(const std::string &sql, uint8_t *out, int32_t outLen);
61 int32_t SearchDatabase(std::string &sql, bool print);
63 std::string SearchDatabase(const std::string &sql);
79 void ExecuteSql(const std::string_view &sql);
/developtools/smartperf_host/ide/src/trace/database/
DSqlLiteWorker.ts53 let sql = e.data.sql; variable
57 const stmt = conn.prepare(sql);
79 execProtoForWorker(e.data, (sql: string) => {
82 const stmt = conn.prepare(sql);
/developtools/smartperf_host/ide/src/trace/database/logic-worker/
DProcedureLogicWorkerFileSystem.ts374 let sql: string = '';
376 sql = this.queryFileSysEventsSQL1(types);
378 sql = this.queryFileSysEventsSQL2(types);
380 sql = this.queryFileSysEventsSQL3(rightNs);
382 this.queryData(this.currentEventId, 'fileSystem-queryFileSysEvents', sql, {
451 let sql = `select
468 this.queryData(this.currentEventId, 'fileSystem-queryVMEvents', sql, {
479 let sql = `select
499 this.queryData(this.currentEventId, 'fileSystem-queryIOEvents', sql, {
687 queryData = (eventId: string, action: string, sql: string, args: unknown): void => {};
[all …]
/developtools/smartperf_host/ide/src/trace/component/
DSpQuerySQL.ts81 let sql = document.createElement('div');
82 sql.className = 'sql';
83 sql.textContent = commonSqlList[i].sql;
89 commonSqlDiv.appendChild(sql);
166 private executeSql(sql: string): void {
169 this.querySize!.title = `${sql}`;
171 queryCustomizeSelect(sql).then((resultList): void => {
176 … this.querySize!.textContent = `Query result - ${this.statDataArray.length} counts.` + `(${sql})`;
187 … this.querySize!.textContent = `Query result - ${this.statDataArray.length} counts.` + `(${sql})`;
/developtools/smartperf_host/ide/test/trace/database/data-trafic/
DEnergySysEventReceiver.test.ts41 proc = jest.fn((sql) => [
90 let systemProc = jest.fn((sql) => [
126 let systemProc = jest.fn((sql) => [
162 let systemProc = jest.fn((sql) => [
190 let systemProc = jest.fn((sql) => [
218 let systemProc = jest.fn((sql) => [
/developtools/smartperf_host/trace_streamer/src/trace_streamer/
Dtrace_streamer_selector.h45 int32_t OperateDatabase(const std::string &sql);
46 int32_t SearchDatabase(const std::string &sql, TraceDataDB::ResultCallBack resultCallBack);
47 int32_t SearchDatabase(const std::string &sql, uint8_t *out, int32_t outLen);
48 int32_t SearchDatabase(std::string &sql, bool printf);
50 std::string SearchDatabase(const std::string &sql);
/developtools/smartperf_host/ide/
DREADME_zh.md76 #### 先下载sql.js的二进制包
77 从如下 https://github.com/sql-js/sql.js/releases/download/v1.6.2/sqljs-all.zip 获取到sql.js的二进制包。

1234