Age | Commit message (Collapse) | Author |
|
Merge from internal master.
(cherry-picked from commit 65d2c7894a93f66ea41d55f843285e7e7bdbf488)
Change-Id: I854b5f310fa44efcaf93af14b84ffe5673cc46c0
|
|
Change-Id: Ib8d9ac401feacbfd2e0862ad0e5fd2c13a233c58
|
|
* commit '3d98cbcb610ac4192542e46c22a6a2ffe7e31ac4':
Add a benchmark of strcpy.
|
|
* commit 'faec68b05e13ce31566feabd01fc23960a93aff1':
Add a benchmark of strcpy.
|
|
|
|
List of all changes:
- Add a strcpy benchmark.
- Create a macro that is used to create all of the code for the main
loop of the benchmark.
- Fix the strcmp benchmark to use two buffers. The single buffer was
an experiment that should not have been committed. It also crashes
when a large alignment is used because it hard-coded an extra 2048
allocation regardless of the alignment chosen.
- Modify the libc benchmarks to take the function to bench as a
parameter. This will allow us to benchmark new potential libc
optimizations by adding a single line to the function table list.
Merge from internal master.
(cherry-picked from commit 014cf9dc226a775e27b2e6ace2461c510d9c6c19)
Change-Id: I8848e309fa1b323fe98f4525eb0f27a889fd0a7f
|
|
|
|
List of all changes:
- Add a strcpy benchmark.
- Create a macro that is used to create all of the code for the main
loop of the benchmark.
- Fix the strcmp benchmark to use two buffers. The single buffer was
an experiment that should not have been committed. It also crashes
when a large alignment is used because it hard-coded an extra 2048
allocation regardless of the alignment chosen.
- Modify the libc benchmarks to take the function to bench as a
parameter. This will allow us to benchmark new potential libc
optimizations by adding a single line to the function table list.
Change-Id: Id7129667669318acbd001c1bfa3db82764a39029
|
|
I707570ad,I900b673d,I62310b2c,I6b030d9d,I8f5a55de,I51a12fb8,I857143a5,I95025d52,I6367555d,I7d80e2b4,If4a4a2bb,I884eedea,Ibd0b26e4,Ia145018d,I2706e6fb,Ib1467329
* commit '057f15a2f24057493af335f0a05e362aceb8db6d':
procrank: add support for only showing cached, noncached, or KSM pages
libpagemap: add pm_process_usage_flags
librank: add flag to show only KSM pages
libpagemap: fix new kernel flag names to start with PM_PAGE_
librank: show swapped pages per library
procrank: show swapped pages per process
libpagemap: count swapped pages
librank: add command line argument for cached or non-cached pages
libpagemap: add pm_map_usage_flags
librank: add command line argument to show all mappings
libpagemap: add page flags for new kernels
librank: add permissions command line argument
libpagemap: add definition for mask of permission flags
librank: convert argument parsing to getopt_long
libpagemap: fix vss calculation
libpagemap: fix reusing previous name for mappings with no name
|
|
I707570ad,I900b673d,I62310b2c,I6b030d9d,I8f5a55de,I51a12fb8,I857143a5,I95025d52,I6367555d,I7d80e2b4,If4a4a2bb,I884eedea,Ibd0b26e4,Ia145018d,I2706e6fb,Ib1467329
* commit '111659ee89ecb6fc0a70c92cca81c0ee7de6c656':
procrank: add support for only showing cached, noncached, or KSM pages
libpagemap: add pm_process_usage_flags
librank: add flag to show only KSM pages
libpagemap: fix new kernel flag names to start with PM_PAGE_
librank: show swapped pages per library
procrank: show swapped pages per process
libpagemap: count swapped pages
librank: add command line argument for cached or non-cached pages
libpagemap: add pm_map_usage_flags
librank: add command line argument to show all mappings
libpagemap: add page flags for new kernels
librank: add permissions command line argument
libpagemap: add definition for mask of permission flags
librank: convert argument parsing to getopt_long
libpagemap: fix vss calculation
libpagemap: fix reusing previous name for mappings with no name
|
|
I707570ad,I900b673d,I62310b2c,I6b030d9d,I8f5a55de,I51a12fb8,I857143a5,I95025d52,I6367555d,I7d80e2b4,If4a4a2bb,I884eedea,Ibd0b26e4,Ia145018d,I2706e6fb,Ib1467329
* changes:
procrank: add support for only showing cached, noncached, or KSM pages
libpagemap: add pm_process_usage_flags
librank: add flag to show only KSM pages
libpagemap: fix new kernel flag names to start with PM_PAGE_
librank: show swapped pages per library
procrank: show swapped pages per process
libpagemap: count swapped pages
librank: add command line argument for cached or non-cached pages
libpagemap: add pm_map_usage_flags
librank: add command line argument to show all mappings
libpagemap: add page flags for new kernels
librank: add permissions command line argument
libpagemap: add definition for mask of permission flags
librank: convert argument parsing to getopt_long
libpagemap: fix vss calculation
libpagemap: fix reusing previous name for mappings with no name
|
|
Add the -c, -C, and -k arguments to only show pages that are
cached (backed by storage), non-cached (backed by ram or swap),
or have been collapsed by KSM respectively.
Change-Id: I707570ad406106b0aca230d18f9945901d193aca
|
|
Add pm_process_usage flags to get memory usage by a process, only
counting pages with specified flags set.
Change-Id: I900b673ddbb5ae92312773a8670dd59769617268
|
|
Passing -k will cause librank to only show KSM pages. The RSS
column will approximate the memory used before KSM, and PSS will
show the memory used after KSM.
Change-Id: I62310b2cda97316b835cf7ebe51b5155872c37dc
|
|
Change-Id: I6b030d9d0356d63b3ddb853de304407bc70b38c4
|
|
Add a column showing swapped pages per library, but only show it
if swapped pages exist in at least one library.
Change-Id: I8f5a55dee7ed8d1f02ed7c947f6a22f7a5771eb8
|
|
Add a column showing swapped pages per process, but only show it
if swapped pages exist in at least one process.
Change-Id: I51a12fb8999c2a73418277fd575e7109478667d5
|
|
Add a new memusage field for swapped pages.
Change-Id: I857143a5fdd294315dd89e834b1217a219f10479
|
|
Add -c and -C command line arguments to only count pages that are
cached (backed by storage) or non-cached (backed by ram or swap)
respectively. Non-cached pages include all anonymous pages, as
well as file backed pages that are mapped private and then modified.
Change-Id: I95025d52f1c876b9c41fcbddaef5e95e32ebf307
|
|
Add pm_map_usage_flags, which is the same as pm_map_usage but only
counts pages with the specified flags set. This can be used to
only count "swapbacked" pages, which are pages that cannot be
flushed back to disk without using swap.
Change-Id: I6367555d9385502c797935849bb4221a8354e251
|
|
Add -a command line argument to show all mappings, including
anonymous, stack, and heap mappings.
Change-Id: I7d80e2b4f5d880d434f57e1e7a37678917cd7407
|
|
Change-Id: If4a4a2bbe9b1a68c5dce1151cf8b7c60cae1a3fa
|
|
Add a command line argument to only list pages with the given
permissions.
Change-Id: I884eedea607b250ac721e7fdac555992c435441f
|
|
Change-Id: Ibd0b26e4f5245592152d2c8ef00e7da1ad5f3fdf
|
|
Change-Id: Ia145018d9096a550febe465c9f5b5f00d36c444d
|
|
pm_map_usage was not incrementing vss for pages that were in the
process's map but not occupying a physical page. Move the
vss increment above the check for present mappings.
Change-Id: I2706e6fbcbfe7d70f10950333a486d690bc84d6c
|
|
Mappings that are not from a file do not have a name. The sscanf
will read all of the fields up to the name, and then leave name
untouched. This causes the previous name to be reused. Reset
name to an empty string before each call to sscanf.
Change-Id: Ib146732983eb074d0d4773be094efa0b672f5ed2
|
|
Add the -c, -C, and -k arguments to only show pages that are
cached (backed by storage), non-cached (backed by ram or swap),
or have been collapsed by KSM respectively.
Change-Id: I707570ad406106b0aca230d18f9945901d193aca
|
|
Add pm_process_usage flags to get memory usage by a process, only
counting pages with specified flags set.
Change-Id: I900b673ddbb5ae92312773a8670dd59769617268
|
|
Passing -k will cause librank to only show KSM pages. The RSS
column will approximate the memory used before KSM, and PSS will
show the memory used after KSM.
Change-Id: I62310b2cda97316b835cf7ebe51b5155872c37dc
|
|
Change-Id: I6b030d9d0356d63b3ddb853de304407bc70b38c4
|
|
Add a column showing swapped pages per library, but only show it
if swapped pages exist in at least one library.
Change-Id: I8f5a55dee7ed8d1f02ed7c947f6a22f7a5771eb8
|
|
Add a column showing swapped pages per process, but only show it
if swapped pages exist in at least one process.
Change-Id: I51a12fb8999c2a73418277fd575e7109478667d5
|
|
Add a new memusage field for swapped pages.
Change-Id: I857143a5fdd294315dd89e834b1217a219f10479
|
|
Add -c and -C command line arguments to only count pages that are
cached (backed by storage) or non-cached (backed by ram or swap)
respectively. Non-cached pages include all anonymous pages, as
well as file backed pages that are mapped private and then modified.
Change-Id: I95025d52f1c876b9c41fcbddaef5e95e32ebf307
|
|
Add pm_map_usage_flags, which is the same as pm_map_usage but only
counts pages with the specified flags set. This can be used to
only count "swapbacked" pages, which are pages that cannot be
flushed back to disk without using swap.
Change-Id: I6367555d9385502c797935849bb4221a8354e251
|
|
Add -a command line argument to show all mappings, including
anonymous, stack, and heap mappings.
Change-Id: I7d80e2b4f5d880d434f57e1e7a37678917cd7407
|
|
Change-Id: If4a4a2bbe9b1a68c5dce1151cf8b7c60cae1a3fa
|
|
Add a command line argument to only list pages with the given
permissions.
Change-Id: I884eedea607b250ac721e7fdac555992c435441f
|
|
Change-Id: Ibd0b26e4f5245592152d2c8ef00e7da1ad5f3fdf
|
|
Change-Id: Ia145018d9096a550febe465c9f5b5f00d36c444d
|
|
|
|
pm_map_usage was not incrementing vss for pages that were in the
process's map but not occupying a physical page. Move the
vss increment above the check for present mappings.
Change-Id: I2706e6fbcbfe7d70f10950333a486d690bc84d6c
|
|
This utility attempts to track the PSS usage of all of the
processes in the system. It will keep track of the min/max/avg/last
PSS for every process it has ever seen and dump that information when
the program is terminated or when a USR1 or TSTP signal is sent to
the process.
Change-Id: Id9364d5121b70f80b8335c379a241bee2fbdb019
|
|
Mappings that are not from a file do not have a name. The sscanf
will read all of the fields up to the name, and then leave name
untouched. This causes the previous name to be reused. Reset
name to an empty string before each call to sscanf.
Change-Id: Ib146732983eb074d0d4773be094efa0b672f5ed2
|
|
* commit 'a885c1bd06d0472822314e738815cbd2d3247988':
Add guards around neon code.
|
|
* commit '69294b5bf79dd0f0909ed8831fbac0f3ab5bf1e5':
Add guards around neon code.
|
|
|
|
Missed the neon code in the copy bandwidths. Added guards and the
functionality to indicate that these are neon based benchmarks.
(cherry-pick of a67e53c2345eac337d24e4decaf4733c5314aff8.)
Change-Id: If0fae051c47979eb243681a3c994222cefaae826
|
|
Missed the neon code in the copy bandwidths. Added guards and the
functionality to indicate that these are neon based benchmarks.
Change-Id: I350d984b27063c47b3c78fc1fa88d33fae960d78
|