onnxruntime/js/web/lib/wasm
Yulong Wang efbef5f611
[js/webgpu] allow to specify callback for profiling data (#18732)
### Description

**This PR is a replacement of #17820.**

allow to specify callback for profiling data

*Previous*:
```js
ort.env.webgpu.profilingMode = 'default';  // enable profiling

// profiling data will output to console.
```

*Now*:
```js
ort.env.webgpu.profiling = {
  mode: 'default';  // enable profiling
  ondata: (data) => {
    // .. process the profiling data
  }
};

//for each kernel, "ondata" will be called once. only output to console if ondata is not specified.
```
2023-12-07 14:10:28 -08:00
..
binding
jsep [js/webgpu] allow to specify callback for profiling data (#18732) 2023-12-07 14:10:28 -08:00
proxy-worker
proxy-messages.ts
proxy-wrapper.ts
run-options.ts
session-handler-inference.ts
session-handler-training.ts
session-options.ts
wasm-common.ts
wasm-core-impl.ts
wasm-factory.ts
wasm-training-core-impl.ts
wasm-utils.ts