/// <summary> /// Simutrace comes with an integrated aggressive, but fast /// compressor for memory traces. To utilize the compressor, the /// stream must use one of the types returned by this method and /// employ the \c simtrace storage format (see StSessionCreateStore()). /// </summary> /// <param name="size">Architecture size of the simulated /// system.</param> /// <param name="accessType">Type of memory operations that the new /// stream should hold.</param> /// <param name="addressType">The semantic of the address /// field.</param> /// <param name="hasData">Indicates if the memory entry will contain /// the data read or written with the memory entry.</param> /// <returns>Stream descriptor identifying the desired memory entry /// type. Do not modify the returned stream descriptor.</returns> public static StreamTypeDescriptor StStreamFindMemoryType( ArchitectureSize size, MemoryAccessType accessType, MemoryAddressType addressType, bool hasData) { return(NativeMethods.StStreamFindMemoryType(size, accessType, addressType, hasData)); }
public static extern StreamTypeDescriptor StStreamFindMemoryType( ArchitectureSize size, MemoryAccessType accessType, MemoryAddressType addressType, [MarshalAs(UnmanagedType.I1)] bool hasData);