Searched refs:AVERAGE_SHIFT_COUNT (Results 1 - 2 of 2) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/AppPkg/Applications/Sockets/DataSink/
H A DDataSink.c34 #define AVERAGE_SHIFT_COUNT ( 6 - DATA_RATE_UPDATE_SHIFT ) ///< 2n samples in average macro
632 DeltaBytes = Port[ Index ].BytesAverage >> AVERAGE_SHIFT_COUNT;
641 if (( 2 << AVERAGE_SHIFT_COUNT ) == Port[ Index ].Samples ) {
650 Average = Port[ Index ].BytesAverage >> ( AVERAGE_SHIFT_COUNT + DATA_RATE_UPDATE_SHIFT );
/vbox/src/VBox/Devices/EFI/Firmware/AppPkg/Applications/Sockets/DataSource/
H A DDataSource.c36 #define AVERAGE_SHIFT_COUNT ( 6 - DATA_RATE_UPDATE_SHIFT ) ///< 2n samples in average macro
1211 DeltaBytes = AverageBytes >> AVERAGE_SHIFT_COUNT;
1220 if (( 2 << AVERAGE_SHIFT_COUNT ) == Samples ) {
1229 Average = AverageBytes >> ( AVERAGE_SHIFT_COUNT + DATA_RATE_UPDATE_SHIFT );

Completed in 5994 milliseconds