compiler warnings
Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
parent
be563b6709
commit
5aa221bf41
|
|
@ -17,6 +17,7 @@
|
||||||
#include "power/SaifReader.hh"
|
#include "power/SaifReader.hh"
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
#include <cinttypes>
|
||||||
|
|
||||||
#include "Error.hh"
|
#include "Error.hh"
|
||||||
#include "Debug.hh"
|
#include "Debug.hh"
|
||||||
|
|
@ -182,7 +183,7 @@ SaifReader::setNetDurations(const char *net_name,
|
||||||
double tc = durations[static_cast<int>(SaifState::TC)];
|
double tc = durations[static_cast<int>(SaifState::TC)];
|
||||||
float activity = tc / (duration_ * timescale_ / clk_period_);
|
float activity = tc / (duration_ * timescale_ / clk_period_);
|
||||||
debugPrint(debug_, "read_saif", 2,
|
debugPrint(debug_, "read_saif", 2,
|
||||||
"%s duty %.0f / %llu = %.2f tc %.0f activity %.2f",
|
"%s duty %.0f / %" PRIu64 " = %.2f tc %.0f activity %.2f",
|
||||||
sdc_network_->pathName(pin),
|
sdc_network_->pathName(pin),
|
||||||
t1,
|
t1,
|
||||||
duration_,
|
duration_,
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,7 @@
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <set>
|
#include <set>
|
||||||
|
#include <array>
|
||||||
|
|
||||||
#include "Zlib.hh"
|
#include "Zlib.hh"
|
||||||
#include "NetworkClass.hh"
|
#include "NetworkClass.hh"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue