Ignore:
Timestamp:
Dec 10, 2008, 7:31:39 PM (16 years ago)
Author:
rosiere
Message:

Almost complete design
with Test and test platform

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/Environment/Sim2OS/src/Sim2OS_service_time.cpp

    r81 r88  
    1717   
    1818    std::cout << "\n\t***** service : time          *****" << std::endl;
    19     std::cout << "\tt         : " << std::hex << (unsigned int) t                                      << std::endl;
    20     std::cout << "\tresult    : " << std::dec << (unsigned int) result << " - " << ctime((time_t *) t) << std::endl;
     19    std::cout << "\tt         : " << std::hex << static_cast<int32_t>(reinterpret_cast<int64_t>(t))                                      << std::endl;
     20    std::cout << "\tresult    : " << std::dec << static_cast<int32_t>(reinterpret_cast<int64_t>(result)) << " - " << ctime((time_t *) t) << std::endl;
    2121    std::cout << "\terrno     : " <<             (unsigned int) error                                  << std::endl;
    2222   
Note: See TracChangeset for help on using the changeset viewer.