rocksdb/monitoring
Fosco Marotto d518fe1da6 uint64_t and size_t changes to compile for iOS
Summary:
In attempting to build a static lib for use in iOS, I ran in to lots of type errors between uint64_t and size_t.  This PR contains the changes I made to get `TARGET_OS=IOS make static_lib` to succeed while also getting Xcode to build successfully with the resulting `librocksdb.a` library imported.

This also compiles for me on macOS and tests fine, but I'm really not sure if I made the correct decisions about where to `static_cast` and where to change types.

Also up for discussion: is iOS worth supporting?  Getting the static lib is just part one, we aren't providing any bridging headers or wrappers like the ObjectiveRocks project, it won't be a great experience.
Closes https://github.com/facebook/rocksdb/pull/3503

Differential Revision: D7106457

Pulled By: gfosco

fbshipit-source-id: 82ac2073de7e1f09b91f6b4faea91d18bd311f8e
2018-03-06 12:43:51 -08:00
..
file_read_sample.h
histogram.cc
histogram.h
histogram_test.cc
histogram_windowing.cc uint64_t and size_t changes to compile for iOS 2018-03-06 12:43:51 -08:00
histogram_windowing.h
instrumented_mutex.cc
instrumented_mutex.h
iostats_context.cc
iostats_context_imp.h
iostats_context_test.cc
perf_context.cc
perf_context_imp.h Compilation fixes for powerpc build, -Wparentheses-equality error and missing header guards 2018-02-09 14:12:43 -08:00
perf_level.cc
perf_level_imp.h
perf_step_timer.h
statistics.cc
statistics.h Add a ticker stat for number of keys skipped during iteration 2017-11-20 21:26:37 -08:00
statistics_test.cc
thread_status_impl.cc fix ThreadStatus for bottom-pri compaction threads 2017-12-14 14:57:49 -08:00
thread_status_updater.cc Suppress unused warnings 2018-02-02 12:27:07 -08:00
thread_status_updater.h
thread_status_updater_debug.cc Suppress unused warnings 2018-02-02 12:27:07 -08:00
thread_status_util.cc
thread_status_util.h
thread_status_util_debug.cc