| /wasmtime-44.0.1/docs/ |
| H A D | examples-profiling-guest.md | 8 `--profile=guest[,path[,interval]]` flag. 11 - `interval` is the duration between samples, 10ms by default 14 multiple of the profiling interval.
|
| H A D | cli-cache.md | 22 cleanup-interval = "30m" 85 Setting `cleanup-interval` 92 and this interval has already passed since last cleaning up, 97 [`cleanup-interval`]: #setting-cleanup-interval 107 [`optimizing-compression-task-timeout`] interval. 124 the locks expire after some interval. 244 [`optimizing-compression-task-timeout`] interval. 250 2. Clean up the cache if no worker has attempted to do this within the last [`cleanup-interval`].
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/ |
| H A D | profiling.rs | 113 interval: Duration, in new() 126 let mut profile = Profile::new(module_name, zero, interval.into()); in new() 184 interval: Duration, in new_component() 192 Self::new(engine, component_name, interval, modules) in new_component()
|
| H A D | store.rs | 1082 pub fn fuel_async_yield_interval(&mut self, interval: Option<u64>) -> Result<()> { in fuel_async_yield_interval() 1083 self.inner.fuel_async_yield_interval(interval) in fuel_async_yield_interval() 1414 pub fn fuel_async_yield_interval(&mut self, interval: Option<u64>) -> Result<()> { in fuel_async_yield_interval() 1415 self.0.fuel_async_yield_interval(interval) in fuel_async_yield_interval() 1612 let interval = yield_interval.unwrap_or(NonZeroU64::MAX).get(); in set_fuel() localVariable 1615 let injected = core::cmp::min(interval, new_fuel_amount); in set_fuel() 2349 pub fn fuel_async_yield_interval(&mut self, interval: Option<u64>) -> Result<()> { in fuel_async_yield_interval() 2355 interval != Some(0), in fuel_async_yield_interval() 2363 self.fuel_yield_interval = interval.and_then(|i| NonZeroU64::new(i)); in fuel_async_yield_interval()
|
| H A D | func.rs | 2157 pub fn fuel_async_yield_interval(&mut self, interval: Option<u64>) -> Result<()> { in fuel_async_yield_interval() 2158 self.store.fuel_async_yield_interval(interval) in fuel_async_yield_interval()
|
| /wasmtime-44.0.1/cranelift/codegen/meta/src/cdsl/ |
| H A D | typevar.rs | 581 pub fn ints(mut self, interval: impl Into<Interval>) -> Self { in ints() 583 self.ints = interval.into(); in ints() 586 pub fn floats(mut self, interval: impl Into<Interval>) -> Self { in floats() 588 self.floats = interval.into(); in floats() 595 pub fn simd_lanes(mut self, interval: impl Into<Interval>) -> Self { in simd_lanes() 597 self.simd_lanes = interval.into(); in simd_lanes() 600 pub fn dynamic_simd_lanes(mut self, interval: impl Into<Interval>) -> Self { in dynamic_simd_lanes() 602 self.dynamic_simd_lanes = interval.into(); in dynamic_simd_lanes()
|
| /wasmtime-44.0.1/src/ |
| H A D | common.rs | 461 Guest { path: String, interval: Duration }, 475 interval: Duration::from_millis(10), in parse() 479 interval: Duration::from_millis(10), in parse() 483 interval: WasmtimeOptionValue::parse(Some(dur))?, in parse()
|
| /wasmtime-44.0.1/src/commands/ |
| H A D | serve.rs | 638 let epoch_interval = if let Some(Profile::Guest { interval, .. }) = self.run.profile { in serve() 639 Some(interval) in serve() 862 fn spawn(interval: std::time::Duration, engine: Engine) -> Self { in spawn() 868 std::thread::sleep(interval); in spawn() 896 if let Some(Profile::Guest { interval, path }) = &cmd.run.profile { in setup_epoch_handler() 898 return setup_guest_profiler(store, path.clone(), *interval, component.clone()); in setup_epoch_handler() 901 let _ = (path, interval); in setup_epoch_handler() 918 interval: Duration, in setup_guest_profiler() 928 interval, in setup_guest_profiler()
|
| H A D | run.rs | 560 if let Some(Profile::Guest { path, interval }) = &self.run.profile { in setup_epoch_handler() 567 *interval, in setup_epoch_handler() 571 let _ = (profiled_modules, path, interval, main_target); in setup_epoch_handler() 596 interval: std::time::Duration, in setup_guest_profiler() 605 interval, in setup_guest_profiler() 611 interval, in setup_guest_profiler() 635 let mut timeout = (timeout.as_secs_f64() / interval.as_secs_f64()).ceil() as u64; in setup_guest_profiler() 660 thread::sleep(interval); in setup_guest_profiler()
|
| /wasmtime-44.0.1/crates/c-api/include/wasmtime/ |
| H A D | async.h | 88 uint64_t interval);
|
| /wasmtime-44.0.1/crates/cache/src/ |
| H A D | config.rs | 426 pub fn with_cleanup_interval(&mut self, interval: Duration) -> &mut Self { in with_cleanup_interval() 427 self.cleanup_interval = interval; in with_cleanup_interval()
|
| /wasmtime-44.0.1/crates/c-api/src/ |
| H A D | async.rs | 37 interval: Option<NonZeroU64>, in wasmtime_context_fuel_async_yield_interval() 40 store.fuel_async_yield_interval(interval.map(|n| n.get())), in wasmtime_context_fuel_async_yield_interval()
|
| /wasmtime-44.0.1/crates/wasi/src/p3/wit/deps/ |
| H A D | sockets.wit | 273 /// - `keep-alive-interval` 439 /// - `keep-alive-interval` 477 get-keep-alive-interval: func() -> result<duration, error-code>; 479 set-keep-alive-interval: func(value: duration) -> result<_, error-code>;
|
| /wasmtime-44.0.1/crates/wasi-http/src/p3/wit/deps/ |
| H A D | sockets.wit | 273 /// - `keep-alive-interval` 439 /// - `keep-alive-interval` 477 get-keep-alive-interval: func() -> result<duration, error-code>; 479 set-keep-alive-interval: func(value: duration) -> result<_, error-code>;
|
| /wasmtime-44.0.1/crates/wasi-http/src/p3/ |
| H A D | request.rs | 441 let mut timeout = tokio::time::interval(between_bytes_timeout); in default_send_request()
|
| /wasmtime-44.0.1/crates/debugger/wit/deps/ |
| H A D | sockets.wit | 383 /// - `keep-alive-interval` 460 /// - `keep-alive-interval` 494 keep-alive-interval: func() -> result<duration, error-code>; 496 set-keep-alive-interval: func(value: duration) -> result<_, error-code>;
|
| /wasmtime-44.0.1/crates/wasi/src/p2/wit/deps/ |
| H A D | sockets.wit | 383 /// - `keep-alive-interval` 460 /// - `keep-alive-interval` 494 keep-alive-interval: func() -> result<duration, error-code>; 496 set-keep-alive-interval: func(value: duration) -> result<_, error-code>;
|
| /wasmtime-44.0.1/crates/wasi-http/wit/deps/ |
| H A D | sockets.wit | 383 /// - `keep-alive-interval` 460 /// - `keep-alive-interval` 494 keep-alive-interval: func() -> result<duration, error-code>; 496 set-keep-alive-interval: func(value: duration) -> result<_, error-code>;
|