IDF.PY size size-components output redirect to file

ammaree
Posts: 39
Joined: Tue Dec 27, 2016 2:10 am

IDF.PY size size-components output redirect to file

Postby ammaree » Thu Jun 10, 2021 9:10 am

Is there any way to redirect JUST the output from "size" and/or "size-components" to a text file ?

We would like to use the text output to do easy comparisons between different optimisation outcomes.

ns1668
Posts: 50
Joined: Tue Mar 16, 2021 2:00 pm

Re: IDF.PY size size-components output redirect to file

Postby ns1668 » Thu Jun 10, 2021 10:45 am

You could run the size_components command separately and then just use a standard redirect or pipe depending on your operating system.

https://helpdeskgeek.com/how-to/redirec ... text-file/

https://stackoverflow.com/questions/667 ... le-in-bash

ammaree
Posts: 39
Joined: Tue Dec 27, 2016 2:10 am

Re: IDF.PY size size-components output redirect to file

Postby ammaree » Thu Jun 10, 2021 12:36 pm

True, but I am trying to avoid the delay due to the extra build step, generating the output files as part of the main build step.

Who is online

Users browsing this forum: No registered users and 360 guests