| OLD | NEW |
| 1 // Copyright (c) 2007, Google Inc. | 1 // Copyright (c) 2007, Google Inc. |
| 2 // All rights reserved. | 2 // All rights reserved. |
| 3 // | 3 // |
| 4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
| 5 // modification, are permitted provided that the following conditions are | 5 // modification, are permitted provided that the following conditions are |
| 6 // met: | 6 // met: |
| 7 // | 7 // |
| 8 // * Redistributions of source code must retain the above copyright | 8 // * Redistributions of source code must retain the above copyright |
| 9 // notice, this list of conditions and the following disclaimer. | 9 // notice, this list of conditions and the following disclaimer. |
| 10 // * Redistributions in binary form must reproduce the above | 10 // * Redistributions in binary form must reproduce the above |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 size_t total_bytes_; // How much output | 170 size_t total_bytes_; // How much output |
| 171 char* fname_; // Profile file name | 171 char* fname_; // Profile file name |
| 172 time_t start_time_; // Start time, or 0 | 172 time_t start_time_; // Start time, or 0 |
| 173 | 173 |
| 174 // Move 'entry' to the eviction buffer. | 174 // Move 'entry' to the eviction buffer. |
| 175 void Evict(const Entry& entry); | 175 void Evict(const Entry& entry); |
| 176 | 176 |
| 177 // Write contents of eviction buffer to disk. | 177 // Write contents of eviction buffer to disk. |
| 178 void FlushEvicted(); | 178 void FlushEvicted(); |
| 179 | 179 |
| 180 DISALLOW_COPY_AND_ASSIGN(ProfileData); | 180 DISALLOW_EVIL_CONSTRUCTORS(ProfileData); |
| 181 }; | 181 }; |
| 182 | 182 |
| 183 #endif // BASE_PROFILEDATA_H_ | 183 #endif // BASE_PROFILEDATA_H_ |
| OLD | NEW |