sc_time.hh (12927:6be191c20575) | sc_time.hh (12983:fb1f462ae89e) |
---|---|
1/* 2 * Copyright 2018 Google, Inc. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions are 6 * met: redistributions of source code must retain the above copyright 7 * notice, this list of conditions and the following disclaimer; 8 * redistributions in binary form must reproduce the above copyright --- 70 unchanged lines hidden (view full) --- 79 sc_time &operator /= (double); 80 81 void print(std::ostream & =std::cout) const; 82 83 // Deprecated 84 static sc_time from_value(sc_dt::uint64); 85 static sc_time from_seconds(double); 86 static sc_time from_string(const char *str); | 1/* 2 * Copyright 2018 Google, Inc. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions are 6 * met: redistributions of source code must retain the above copyright 7 * notice, this list of conditions and the following disclaimer; 8 * redistributions in binary form must reproduce the above copyright --- 70 unchanged lines hidden (view full) --- 79 sc_time &operator /= (double); 80 81 void print(std::ostream & =std::cout) const; 82 83 // Deprecated 84 static sc_time from_value(sc_dt::uint64); 85 static sc_time from_seconds(double); 86 static sc_time from_string(const char *str); |
87 88 private: 89 uint64_t val; |
|
87}; 88 89const sc_time operator + (const sc_time &, const sc_time &); 90const sc_time operator - (const sc_time &, const sc_time &); 91 92const sc_time operator * (const sc_time &, double); 93const sc_time operator * (double, const sc_time &); 94const sc_time operator / (const sc_time &, double); --- 42 unchanged lines hidden --- | 90}; 91 92const sc_time operator + (const sc_time &, const sc_time &); 93const sc_time operator - (const sc_time &, const sc_time &); 94 95const sc_time operator * (const sc_time &, double); 96const sc_time operator * (double, const sc_time &); 97const sc_time operator / (const sc_time &, double); --- 42 unchanged lines hidden --- |