server-skynet-source-3rd-je.../msvc
Yinan Zhang 0b462407ae Refactor profiling
Refactored core profiling codebase into two logical parts:

(a) `prof_data.c`: core internal data structure managing & dumping;
(b) `prof.c`: mutexes & outward-facing APIs.

Some internal functions had to be exposed out, but there are not
that many of them if the modularization is (hopefully) clean enough.
2019-07-29 13:55:00 -07:00
..
projects Refactor profiling 2019-07-29 13:55:00 -07:00
test_threads Fix MSVC 2015 project and add a VS 2017 solution 2017-10-16 10:26:54 -07:00
jemalloc_vc2015.sln Add MS Visual Studio 2015 support 2016-02-20 10:55:23 -08:00
jemalloc_vc2017.sln Fix MSVC 2015 project and add a VS 2017 solution 2017-10-16 10:26:54 -07:00
ReadMe.txt Fix MSVC 2015 project and add a VS 2017 solution 2017-10-16 10:26:54 -07:00

How to build jemalloc for Windows
=================================

1. Install Cygwin with at least the following packages:
   * autoconf
   * autogen
   * gawk
   * grep
   * sed

2. Install Visual Studio 2015 or 2017 with Visual C++

3. Add Cygwin\bin to the PATH environment variable

4. Open "x64 Native Tools Command Prompt for VS 2017"
   (note: x86/x64 doesn't matter at this point)

5. Generate header files:
   sh -c "CC=cl ./autogen.sh"

6. Now the project can be opened and built in Visual Studio:
   msvc\jemalloc_vc2017.sln