sc_time.hh (12916:8fa0c4e23f69) | sc_time.hh (12923:8a77b84341de) |
---|---|
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 --- 61 unchanged lines hidden (view full) --- 70 bool operator >= (const sc_time &) const; 71 72 sc_time &operator += (const sc_time &); 73 sc_time &operator -= (const sc_time &); 74 sc_time &operator *= (double); 75 sc_time &operator /= (double); 76 77 void print(std::ostream & =std::cout) const; | 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 --- 61 unchanged lines hidden (view full) --- 70 bool operator >= (const sc_time &) const; 71 72 sc_time &operator += (const sc_time &); 73 sc_time &operator -= (const sc_time &); 74 sc_time &operator *= (double); 75 sc_time &operator /= (double); 76 77 void print(std::ostream & =std::cout) const; |
78 79 // Deprecated 80 static sc_time from_value(sc_dt::uint64); 81 static sc_time from_seconds(double); 82 static sc_time from_string(const char *str); |
|
78}; 79 80const sc_time operator + (const sc_time &, const sc_time &); 81const sc_time operator - (const sc_time &, const sc_time &); 82 83const sc_time operator * (const sc_time &, double); 84const sc_time operator * (double, const sc_time &); 85const sc_time operator / (const sc_time &, double); --- 17 unchanged lines hidden --- | 83}; 84 85const sc_time operator + (const sc_time &, const sc_time &); 86const sc_time operator - (const sc_time &, const sc_time &); 87 88const sc_time operator * (const sc_time &, double); 89const sc_time operator * (double, const sc_time &); 90const sc_time operator / (const sc_time &, double); --- 17 unchanged lines hidden --- |