Skip to content

Calculating regRegionDelay divides by magical 4096 #1100

@deanchester

Description

@deanchester

I was taking a read through the firefly source to look further in to some of the configuration parameters and noticed that the regRegionDelay function checks to see if the length is larger than m_regRegionXoverLength and then divides by 4096 (which is the default for m_regRegionXoverLength ) should it be divided by m_regRegionXoverLength as this is customisable and not the magical 4096?

if ( nbytes > m_regRegionXoverLength ) {

tmp += (nbytes/4096) * m_regRegionPerPageDelay_ns;

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions