Skip to content

Do not use hardcoded value for the cache line size in event_data_control.h #88

@LittleHuba

Description

@LittleHuba

What

In event data control we need to know the cache line size to prevent false sharing. This information can be retrieved in C++ using hardware_destructive_interference_size.
What we have right now in code is a hardcoded value of 64. However, this might be different in the host or if we change hardware.
Switch to the above API to retrieve the information.

How

No response

Estimates for realization

  • Effort low
  • No impact on users expected

Category

  • Affects Detailed Design

Requirements / Architecture

  • Requirements / Architecture are not affected by this change?

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions