Kazu Hirata
f97c610d1f
[memprof] Add MemProfReader::takeMemProfData ( #116769 )
...
This patch adds MemProfReader::takeMemProfData, a function to return
the complete MemProf profile from the reader. We can directly pass
its return value to InstrProfWriter::addMemProfData without having to
deal with the indivual components of the MemProf profile. The new
function is named "take", but it doesn't do std::move yet because of
type differences (DenseMap v.s. MapVector).
The end state I'm trying to get to is roughly as follows:
- MemProfReader accepts IndexedMemProfData as a parameter as opposed
to the three individual components (frames, call stacks, and
records).
- MemProfReader keeps IndexedMemProfData as a class member without
decomposing it into its individual components.
- MemProfReader returns IndexedMemProfData like:
IndexedMemProfData takeMemProfData() {
return std::move(MemProfData);
}
2024-11-19 19:33:26 -08:00
..
2024-11-05 10:00:23 -05:00
2023-12-07 15:04:56 -05:00
2024-11-06 15:54:47 -08:00
2024-09-11 14:38:56 +02:00
2024-10-07 10:56:52 -07:00
2024-11-14 13:30:05 -08:00
2024-11-11 11:39:53 +11:00
2024-04-05 09:24:13 -07:00
2024-09-17 10:50:44 +02:00
2024-10-28 10:59:53 -07:00
2024-09-17 10:51:06 +02:00
2023-12-03 16:24:43 -08:00
2024-11-13 17:34:07 -08:00
2024-07-04 21:55:37 -04:00
2024-11-12 10:09:42 -08:00
2024-09-24 09:43:02 -04:00
2023-08-15 01:16:58 -07:00
2023-12-11 21:01:36 -08:00
2024-10-23 13:03:30 +01:00
2024-05-01 10:39:41 -04:00
2024-09-13 06:23:54 -04:00
2024-03-05 18:00:46 -08:00
2024-10-01 21:10:51 -07:00
2024-10-19 14:42:25 -07:00
2024-10-07 11:23:30 +01:00
2024-04-15 11:53:15 -07:00
2023-06-02 15:19:41 -07:00
2024-07-26 12:36:45 +05:30
2024-09-13 22:47:19 -07:00
2024-03-19 12:30:50 -07:00
2024-07-20 21:27:36 -07:00
2024-11-18 12:06:52 -08:00
2024-09-24 16:40:16 -07:00
2024-08-07 14:34:20 -07:00
2024-09-24 16:40:54 -07:00
2024-10-22 17:39:05 -04:00
2024-11-18 11:17:36 +11:00
2024-03-04 08:44:36 -08:00
2024-09-13 06:23:54 -04:00
2024-09-25 10:49:45 -04:00
2024-09-13 06:23:54 -04:00
2024-10-17 12:10:05 -04:00
2024-10-07 08:16:46 -07:00
2024-08-16 20:48:15 +01:00
2024-07-21 09:23:45 -07:00
2023-06-26 11:20:08 +02:00
2024-08-19 17:16:19 +01:00
2024-09-06 11:28:22 +03:00
2024-08-30 09:35:06 +02:00
2024-06-14 22:49:36 -07:00
2024-11-18 09:09:06 -08:00
2024-11-07 10:53:11 -05:00
2024-10-22 17:39:05 -04:00
2024-07-05 17:22:03 -05:00
2024-11-09 19:42:43 +02:00
2024-11-19 19:33:26 -08:00
2024-08-26 09:14:35 -07:00
2024-09-25 10:49:45 -04:00
2024-11-18 10:41:14 -08:00
2024-11-15 09:27:08 -08:00
2024-11-14 13:30:05 -08:00
2024-10-07 21:46:41 -07:00
2024-05-20 22:55:24 -07:00
2023-06-02 15:08:14 -07:00
2024-10-23 13:03:25 +02:00
2024-09-13 05:50:49 -04:00
2023-12-28 18:04:25 +01:00
2024-07-03 21:26:21 +02:00
2024-08-08 15:18:34 +01:00
2024-09-25 10:49:45 -04:00
2024-08-05 13:38:34 +05:30
2023-08-15 01:16:58 -07:00
2023-12-11 21:01:36 -08:00
2024-09-13 06:23:54 -04:00
2024-05-08 10:33:53 -07:00
2023-10-24 23:03:13 -07:00
2024-09-09 14:12:12 -07:00
2024-11-08 18:44:02 +01:00
2024-11-14 13:30:05 -08:00
2024-05-25 13:28:30 +02:00
2024-05-28 12:40:39 +02:00
2024-11-04 09:39:55 -08:00
2024-09-20 11:36:43 +02:00
2024-07-06 16:48:32 +09:00
2024-04-15 11:53:15 -07:00
2024-05-01 10:39:41 -04:00
2024-07-25 15:52:49 -04:00