# perf_count_virtual

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-base/macro-perf_count_virtual/

**macro** · [`ferroui-base`](/docs/0.5.0/api/ferroui-base/) · v0.5.0

```rust
macro_rules! perf_count_virtual
```

Counts one virtual call of the member `$member` (a string literal,
`"Class::member"`) on this thread. Without the feature `perf-counters`
it expands to the unit value: there is no code.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/diagnostics/perf_counters.rs#L407)

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
