Aaron Lin
Results
2
comments of
Aaron Lin
For quick reference: ``` sudo apt install gcc-8-riscv64-linux-gnu sudo apt remove gcc-riscv64-linux-gnu ``` and then replace `CC = $(TOOLPREFIX)gcc` with `CC = $(TOOLPREFIX)gcc-8` in the Makefile
As a stopgap, one way to flush is: ``` import threading from opencensus.metrics.transport import PeriodicMetricTask def flush_all_metrics(): for thread in threading.enumerate(): if isinstance(thread, PeriodicMetricTask): thread.close() thread.join(timeout=60) ```