code: def print_all(self, out=sys.stdout):
          
          THREAD_FUNC_NAME_LEN = 25
          THREAD_NAME_LEN = 13
          THREAD_ID_LEN = 15
          THREAD_SCHED_CNT_LEN = 10
  
          out.write(CRLF)
          out.write("name           tid              ttot      scnt")
          out.write(CRLF)
          for stat in self:
              out.write(StatString(stat.name).ltrim(THREAD_NAME_LEN))
              out.write(" " * COLUMN_GAP)
              out.write(StatString(stat.id).rtrim(THREAD_ID_LEN))            
              out.write(" " * COLUMN_GAP)
              out.write(StatString(_fft(stat.ttot)).rtrim(TIME_COLUMN_LEN))
              out.write(" " * COLUMN_GAP)
              out.write(StatString(stat.sched_count).rtrim(THREAD_SCHED_CNT_LEN))
              out.write(CRLF)
docs: Prints all of the thread profiler results to a given file. (stdout by default)