Ignore:
Timestamp:
01/12/17 13:16:48 (8 years ago)
Author:
epyon
Message:
  • getting rid of size_t
  • datatypes now restricted to uint32 size
  • 64-bit compatibility
  • copyright updates where modified
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/core/profiler.cc

    r409 r533  
    109109        char buffer[128];
    110110        snprintf( buffer, 128, "%-23s %6s %6s %9s %6s", "TAG", "%PARNT", "CALLS", "TOTAL(ms)", "AVG(ms)" );
    111         NV_LOG_INFO( string_view( buffer, nvstrlen( buffer ) ) );
     111        NV_LOG_INFO( string_view( buffer, static_cast< uint32 >( nvstrlen( buffer ) ) ) );
    112112        log_node_children( 0, m_root );
    113113        NV_LOG_INFO( "-- PROFILER REPORT END ---------------------------------" );
     
    131131                        snprintf( buffer + indent, 128 - indent, "%*.*s %6.2f %6d %9.2f %6.2f", indent - 23, 23 - indent,
    132132                                c->m_tag.data(), pparent, calls, total_ms, avg_ms );
    133                         NV_LOG_INFO( string_view( buffer, nvstrlen( buffer ) ) );
     133                        NV_LOG_INFO( string_view( buffer, static_cast< uint32 >( nvstrlen( buffer ) ) ) );
    134134                        if ( c->m_children.size() > 0 )
    135135                        {
Note: See TracChangeset for help on using the changeset viewer.