# trace::Record::SchedulerEvent::LegacyContextSwitch

## Summary

| ### Public attributes ||
|---|---|
| `https://fuchsia.dev/reference/cpp/struct/trace/record/scheduler-event/legacy-context-switch#structtrace_1_1_record_1_1_scheduler_event_1_1_legacy_context_switch_1a90a2748ec29fee295955dc9914d0b160` | `trace_cpu_number_t` |
| `https://fuchsia.dev/reference/cpp/struct/trace/record/scheduler-event/legacy-context-switch#structtrace_1_1_record_1_1_scheduler_event_1_1_legacy_context_switch_1a3a11c146b43a62c61b0fb56e34abc1ee` | `https://fuchsia.dev/reference/cpp/class/trace/process-thread#classtrace_1_1_process_thread` |
| `https://fuchsia.dev/reference/cpp/struct/trace/record/scheduler-event/legacy-context-switch#structtrace_1_1_record_1_1_scheduler_event_1_1_legacy_context_switch_1a460d2b4c9303a11ecc78748e791f0fd3` | `trace_thread_priority_t` |
| `https://fuchsia.dev/reference/cpp/struct/trace/record/scheduler-event/legacy-context-switch#structtrace_1_1_record_1_1_scheduler_event_1_1_legacy_context_switch_1a646a952cce5dfe343dc3908652bcc63c` | `https://fuchsia.dev/reference/cpp/class/trace/process-thread#classtrace_1_1_process_thread` |
| `https://fuchsia.dev/reference/cpp/struct/trace/record/scheduler-event/legacy-context-switch#structtrace_1_1_record_1_1_scheduler_event_1_1_legacy_context_switch_1a5fc24046e6eb2354bba97b38a13e1bf1` | `trace_thread_priority_t` |
| `https://fuchsia.dev/reference/cpp/struct/trace/record/scheduler-event/legacy-context-switch#structtrace_1_1_record_1_1_scheduler_event_1_1_legacy_context_switch_1a65c4acfdae1ca450788029cc0746a08b` | `ThreadState` |
| `https://fuchsia.dev/reference/cpp/struct/trace/record/scheduler-event/legacy-context-switch#structtrace_1_1_record_1_1_scheduler_event_1_1_legacy_context_switch_1a375937c50ad1485576069baefaa3b11c` | `trace_ticks_t` |

## Public attributes

### cpu_number

```c++
trace_cpu_number_t trace::Record::SchedulerEvent::LegacyContextSwitch::cpu_number
```

### incoming_thread

```c++
ProcessThread trace::Record::SchedulerEvent::LegacyContextSwitch::incoming_thread
```

### incoming_thread_priority

```c++
trace_thread_priority_t trace::Record::SchedulerEvent::LegacyContextSwitch::incoming_thread_priority
```

### outgoing_thread

```c++
ProcessThread trace::Record::SchedulerEvent::LegacyContextSwitch::outgoing_thread
```

### outgoing_thread_priority

```c++
trace_thread_priority_t trace::Record::SchedulerEvent::LegacyContextSwitch::outgoing_thread_priority
```

### outgoing_thread_state

```c++
ThreadState trace::Record::SchedulerEvent::LegacyContextSwitch::outgoing_thread_state
```

### timestamp

```c++
trace_ticks_t trace::Record::SchedulerEvent::LegacyContextSwitch::timestamp
```